Browse Source

Merge branch 'master' of https://github.com/linhua55/youtube-dl into linhua55-master

totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
2ec7b7b79b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/tudou.py

+ 1
- 1
youtube_dl/extractor/tudou.py View File

@ -9,7 +9,7 @@ from .common import InfoExtractor
class TudouIE(InfoExtractor): class TudouIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?tudou\.com/(?:listplay|programs(?:/view)?|albumplay)/.*?/(?P<id>[^/?#]+?)(?:\.html)?/?(?:$|[?#])'
_VALID_URL = r'https?://(?:www\.)?tudou\.com/(?:listplay|programs(?:/view)?|albumplay)/?.*/(?P<id>[^/?#]+?)(?:\.html)?/?(?:$|[?#])'
_TESTS = [{ _TESTS = [{
'url': 'http://www.tudou.com/listplay/zzdE77v6Mmo/2xN2duXMxmw.html', 'url': 'http://www.tudou.com/listplay/zzdE77v6Mmo/2xN2duXMxmw.html',
'md5': '140a49ed444bd22f93330985d8475fcb', 'md5': '140a49ed444bd22f93330985d8475fcb',


Loading…
Cancel
Save