]> gitweb @ CieloNegro.org - youtube-dl.git/commit
[youtube] Modify the regex to match ids of length 11 (fixes #1396)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 9 Sep 2013 08:33:12 +0000 (10:33 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 9 Sep 2013 08:33:12 +0000 (10:33 +0200)
commit8963d9c2661b7de8832b7afcf1cdbc197275d8e3
tree3ce44ff77fb188ccc3ef86b2a7ecdaf8b13b7fc4
parent890f62e86805c9eed8444450a209f894bbd74e7b
[youtube] Modify the regex to match ids of length 11 (fixes #1396)

In urls like http://www.youtube.com/watch?v=BaW_jenozKcsharePLED17F32AD9753930 you can't split the query string and ids always have that length.
test/test_all_urls.py
youtube_dl/extractor/youtube.py