Explorar el Código

Handle ancient /?v= URLs

master
JustAnotherArchivist hace 2 años
padre
commit
b440b35c2f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      youtube-extract

+ 1
- 1
youtube-extract Ver fichero

@@ -44,7 +44,7 @@ noisePattern = '|'.join([
r'//www\.youtube\.com/results/?(\?|$)',
r'//www\.youtube\.com/premium/?\?',
r'//www\.youtube\.com/new([/?]|$)',
r'//www\.youtube\.com/?(\?|$)',
r'//www\.youtube\.com/?(\?(?!(\S*&)?v=)|$)',
r'//www\.youtube\.com/embed/("|%22|' r"'|%27" r')(%20)?(\+|%3B)', # JS extraction stuff
r'//www\.youtube\.com/service_ajax$',
r'//www\.youtube\.com/watch(\?v=)?$',


Cargando…
Cancelar
Guardar