]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[aftonbladet] Fix extraction
authorSergey M․ <dstftw@gmail.com>
Sat, 4 Apr 2015 16:15:59 +0000 (22:15 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 4 Apr 2015 16:15:59 +0000 (22:15 +0600)
youtube_dl/extractor/aftonbladet.py

index 8442019eac3eaa0a373140d494ffa2ca420f4606..4675585ca1a636f229065775dc657eb000af0c5e 100644 (file)
@@ -5,7 +5,7 @@ from .common import InfoExtractor
 
 
 class AftonbladetIE(InfoExtractor):
-    _VALID_URL = r'^http://tv\.aftonbladet\.se/webbtv.+?(?P<video_id>article[0-9]+)\.ab(?:$|[?#])'
+    _VALID_URL = r'http://tv\.aftonbladet\.se/webbtv.+?(?P<id>article[0-9]+)\.ab(?:$|[?#])'
     _TEST = {
         'url': 'http://tv.aftonbladet.se/webbtv/nyheter/vetenskap/rymden/article36015.ab',
         'info_dict': {