Browse Source

Handle ancient /?v= URLs

master
JustAnotherArchivist 2 years ago
parent
commit
b440b35c2f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube-extract

+ 1
- 1
youtube-extract View File

@@ -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=)?$',


Loading…
Cancel
Save