[PR #429] [MERGED] feat: snapchat support #1142

Closed
opened 2025-11-09 10:06:38 -06:00 by GiteaMirror · 0 comments
Owner

📋 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: currentHead: feature/snapchat


📝 Commits (10+)

  • 0dfc59a feat: snapchat support
  • 48c48c6 chore: remove redundancy
  • 7ac9c28 chore: a bit of better matching
  • 5dfc16b chore: update readme
  • 4b4adc4 refactor(snapchat): refactor story matching to use pickers
  • 5c11beb fix: small fix to directly linked stories
  • 00a66e1 fix(snapchat): fix filenames
  • 92e9941 chore: update readme
  • 6d27a0b ref(snapchat): rewrite service, new test, split redirects into a util
  • 2110cae Merge 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.

## 📋 Pull Request Information **Original PR:** https://github.com/imputnet/cobalt/pull/429 **Author:** [@Snazzah](https://github.com/Snazzah) **Created:** 4/16/2024 **Status:** ✅ Merged **Merged:** 7/24/2024 **Merged by:** [@dumbmoron](https://github.com/dumbmoron) **Base:** `current` ← **Head:** `feature/snapchat` --- ### 📝 Commits (10+) - [`0dfc59a`](https://github.com/imputnet/cobalt/commit/0dfc59a972e59d4e554a61e5e70c079635429829) feat: snapchat support - [`48c48c6`](https://github.com/imputnet/cobalt/commit/48c48c61de13518a8159a360168518c526bfa6ff) chore: remove redundancy - [`7ac9c28`](https://github.com/imputnet/cobalt/commit/7ac9c2895b4bdb1b881f63e8368240a1fa76c750) chore: a bit of better matching - [`5dfc16b`](https://github.com/imputnet/cobalt/commit/5dfc16b76ce93c8d46aa18b4b858630871bb497c) chore: update readme - [`4b4adc4`](https://github.com/imputnet/cobalt/commit/4b4adc4e8becc85268e00c904d0eeba178f4c5ac) refactor(snapchat): refactor story matching to use pickers - [`5c11beb`](https://github.com/imputnet/cobalt/commit/5c11beb8a320305fd55ae470554600a692a481e2) fix: small fix to directly linked stories - [`00a66e1`](https://github.com/imputnet/cobalt/commit/00a66e17e6a368eecb07e4a528f63c52cd3ab48e) fix(snapchat): fix filenames - [`92e9941`](https://github.com/imputnet/cobalt/commit/92e9941de561b42d2d5ecfc70c9d0c6f38e4c10e) chore: update readme - [`6d27a0b`](https://github.com/imputnet/cobalt/commit/6d27a0bd73c6e79fe6d798884346af4d85c9bef5) ref(snapchat): rewrite service, new test, split redirects into a util - [`2110cae`](https://github.com/imputnet/cobalt/commit/2110cae0306318f1e96ef2ec6db6b482b70e5d98) Merge branch 'current' into feature/snapchat ### 📊 Changes **8 files changed** (+153 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-09 10:06:38 -06:00
Sign in to join this conversation.