Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#47 - Clips collector #90

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

surdaft
Copy link
Contributor

@surdaft surdaft commented Feb 2, 2025

Review #87 before this pr


Implements new clips collector, additional work may be required to get a proper picture of clips. Thinking I may need to adjust this metric to just be clips in the last 24hrs (at point of scrape) - this would still show a rate of clips, but not a sum of clips.

  • Also implemented user cache (using gocache for multiple backend support) to reduce api calls. We mostly use the GetUsers endpoint to get IDs from usernames, then use IDs from then onwards.
  • Implemented vscode snippet and launch.json for easier diagnostics and development of new collectors

Closes #47

- use Reload to recreate all collectors with new config
- add script for retrieving an appAccessToken conveniently
- getAppAccessToken will now read from config and update in place with new token
- add debug launch config
- add snippet for collector generation
- add user api cache
- add snips collector
- known: api says 403, need to investigate
@surdaft surdaft force-pushed the 47-clips-video-collector branch from 6465cfa to ce241b9 Compare February 4, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for number of clips
1 participant