youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit b524a001d68767298272ef59274c826a6ea6a1b7
parent 7b071e317bd79c81fac0c529d021da381801c3ea
Author: Quentin Rameau <quinq@quinq.eu.org>
Date:   Mon, 20 Apr 2015 06:25:55 +0200

[bandcamp] fix video_id parsing (fixes #4861)

Diffstat:
Myoutube_dl/extractor/bandcamp.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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')