A simple localhost-based browser for ytInitialData
given a channel id.
Download a CSV list of channels your youtube account is subscribed to:
- go to your account's Google takeout
- click the All YouTube data included button, then unmark all but subscriptions
- click Next step, then click Create export
- download the zip file from your account's email address
- unzip the file, then copy
./Takeout/YouTube and YouTube Music/subscriptions/subscriptions.csv
into this directory
Once you have you CSV file in this directory, run ./gen_site.sh
.
Run ./server.py
with this directory as the working directory (cwd). That
will open a connection in localhost
with port 8080.
Open a browser with javascript enabled (any modern-ish browser should do), then
connect to http://localhost:8080
.
The python script depends on:
re
http
:server
requests