このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
JustAnotherArchivist
/
little-things
ウォッチ
2
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
Add YouTube channel listing script
master
JustAnotherArchivist
2年前
親
1686e04cbe
コミット
0044281b9d
1個のファイルの変更
、
9行の追加
、
0行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+9
-0
youtube-channel-list.py
+ 9
- 0
youtube-channel-list.py
ファイルの表示
@@ -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'])
書き込み
プレビュー
読み込み中…
キャンセル
保存