- set up an api key using google's cloud console
- you will also need an oauth application
- I used "Web Application" with a callback of "https://localhost:5000/callback"
- you don't actually need to have a webapp running
- I used the
https://www.googleapis.com/auth/youtube.force-sslscope
- you need to get an oauth token, we won't bother with refresh, etc.
- download the creds that the console gives you and save them as
goog.json - to do that, run
get_oauth.py(it will spit out a link, click that) - then paste the resulting redirect url (
https://localhost:5000/...) intoget_oauth.pyand run it again, it should give you a bearer token.
- download the creds that the console gives you and save them as
- take both the api key and bearer token and make a
config.jsonwith this format:{"key": ..., "token": ...} - finally, run
python -m change_descriptions
-
-
Notifications
You must be signed in to change notification settings - Fork 3
anthonywritescode/youtube-description-change
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
script to update the social links in my youtube descriptions
Resources
Stars
Watchers
Forks
Releases
No releases published
Sponsor this project
Packages 0
No packages published