This website works better with JavaScript.
Home
Explore
Help
Sign In
JustAnotherArchivist
/
little-things
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add YouTube channel listing script
master
JustAnotherArchivist
2 years ago
parent
1686e04cbe
commit
0044281b9d
1 changed files
with
9 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
youtube-channel-list.py
+ 9
- 0
youtube-channel-list.py
View File
@@ -0,0 +1,9 @@
import sys
import yt_dlp
with yt_dlp.YoutubeDL({'quiet': True}) as ydl:
ie = ydl.get_info_extractor('YoutubeTab')
for url in sys.argv[1:]:
for entry in ie.extract(url)['entries']:
print(entry['id'])
Write
Preview
Loading…
Cancel
Save