This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
JustAnotherArchivist
/
little-things
Прати
2
Волим
0
Креирај огранак
0
Код
Дискусије
0
Захтеви за спајање
0
Издања
0
Вики
Activity
Преглед изворни кода
Use _type instead of key check hack
master
JustAnotherArchivist
пре 1 година
родитељ
ec20f38c82
комит
34a3c9d0f3
1 измењених фајлова
са
2 додато
и
2 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+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'])
Write
Preview
Loading…
Откажи
Сачувај