Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
JustAnotherArchivist
/
little-things
Seguir
2
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Use _type instead of key check hack
master
JustAnotherArchivist
hace 1 año
padre
ec20f38c82
commit
34a3c9d0f3
Se han
modificado 1 ficheros
con
2 adiciones
y
2 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-2
youtube-channel-list.py
+ 2
- 2
youtube-channel-list.py
Ver fichero
@@ -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'])
Escribir
Vista previa
Cargando…
Cancelar
Guardar