使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
JustAnotherArchivist
/
little-things
关注
2
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Use _type instead of key check hack
master
JustAnotherArchivist
1年前
父节点
ec20f38c82
当前提交
34a3c9d0f3
共有
1 个文件被更改
,包括
2 次插入
和
2 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+2
-2
youtube-channel-list.py
+ 2
- 2
youtube-channel-list.py
查看文件
@@ -10,7 +10,7 @@ with yt_dlp.YoutubeDL({'quiet': True}) as ydl:
q.append(ie.extract(url))
while q:
e = q.popleft()
if
'entries' in e
:
if
e['_type'] == 'playlist'
:
q.extend(e['entries'])
elif
'id' in e
:
elif
e['_type'] == 'url'
:
print(e['id'])
撰写
预览
正在加载...
取消
保存