diff options
author | Quentin Rameau <quinq@quinq.eu.org> | 2015-04-20 06:25:55 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-04-20 15:45:57 +0200 |
commit | b524a001d68767298272ef59274c826a6ea6a1b7 (patch) | |
tree | d76732e2836fe420d9057e4d93a484ccd2b87d8f /youtube_dl | |
parent | 7b071e317bd79c81fac0c529d021da381801c3ea (diff) |
[bandcamp] fix video_id parsing (fixes #4861)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/bandcamp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index 869294967..505877b77 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -72,7 +72,7 @@ class BandcampIE(InfoExtractor): download_link = m_download.group(1) video_id = self._search_regex( - r'(?ms)var TralbumData = {.*?id: (?P<id>\d+),?$', + r'(?ms)var TralbumData = .*?[{,]\s*id: (?P<id>\d+),?$', webpage, 'video id') download_webpage = self._download_webpage(download_link, video_id, 'Downloading free downloads page') |