mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-12 01:45:57 -05:00
[PR #429] [MERGED] feat: snapchat support #1142
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/429
Author: @Snazzah
Created: 4/16/2024
Status: ✅ Merged
Merged: 7/24/2024
Merged by: @dumbmoron
Base:
current← Head:feature/snapchat📝 Commits (10+)
0dfc59afeat: snapchat support48c48c6chore: remove redundancy7ac9c28chore: a bit of better matching5dfc16bchore: update readme4b4adc4refactor(snapchat): refactor story matching to use pickers5c11bebfix: small fix to directly linked stories00a66e1fix(snapchat): fix filenames92e9941chore: update readme6d27a0bref(snapchat): rewrite service, new test, split redirects into a util2110caeMerge branch 'current' into feature/snapchat📊 Changes
8 files changed (+153 additions, -1 deletions)
View changed files
📝
README.md(+2 -0)📝
src/modules/processing/match.js(+9 -0)📝
src/modules/processing/matchActionDecider.js(+2 -0)➕
src/modules/processing/services/snapchat.js(+96 -0)📝
src/modules/processing/servicesConfig.json(+6 -0)📝
src/modules/processing/servicesPatternTesters.js(+5 -0)📝
src/modules/sub/utils.js(+7 -0)📝
src/util/tests.json(+26 -1)📄 Description
Tested with https://t.snapchat.com/4ZsiBLDi, which leads to a spotlight video.
Story links (https://t.snapchat.com/NQPCL1Xw) also work, as long as they are directly linked to a video, else it would fail. Since story links seem to change often, I opted out of adding it to a test.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.