Ver a proveniência

Add YouTube channel listing script

master
JustAnotherArchivist há 2 anos
ascendente
cometimento
0044281b9d
1 ficheiros alterados com 9 adições e 0 eliminações
  1. +9
    -0
      youtube-channel-list.py

+ 9
- 0
youtube-channel-list.py Ver ficheiro

@@ -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'])

Carregando…
Cancelar
Guardar