projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ed34f3
)
[historicfilms] Fix tape id extraction
author
Sergey M․
<dstftw@gmail.com>
Wed, 6 May 2015 15:52:26 +0000
(21:52 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 6 May 2015 15:52:26 +0000
(21:52 +0600)
youtube_dl/extractor/historicfilms.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/historicfilms.py
b/youtube_dl/extractor/historicfilms.py
index 40afbe537c6eb930216afbe2afda23002151d8f2..6a36933ac2c98ada87b21af4089aa158d42a3112 100644
(file)
--- a/
youtube_dl/extractor/historicfilms.py
+++ b/
youtube_dl/extractor/historicfilms.py
@@
-25,7
+25,8
@@
class HistoricFilmsIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
tape_id = self._search_regex(
- r'class="tapeId">([^<]+)<', webpage, 'tape id')
+ [r'class="tapeId"[^>]*>([^<]+)<', r'tapeId\s*:\s*"([^"]+)"'],
+ webpage, 'tape id')
title = self._og_search_title(webpage)
description = self._og_search_description(webpage)