projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ce08a86
)
[bet] Correct test IDs
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 8 Jan 2015 16:02:37 +0000
(17:02 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 8 Jan 2015 17:03:29 +0000
(18:03 +0100)
youtube_dl/extractor/bet.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bet.py
b/youtube_dl/extractor/bet.py
index 4fbdd6f1cd6b19589b5978c5f8af1a3959795dff..d2abd4d772c95e9877a607af7cc0b6e4d56e123a 100644
(file)
--- a/
youtube_dl/extractor/bet.py
+++ b/
youtube_dl/extractor/bet.py
@@
-16,7
+16,7
@@
class BetIE(InfoExtractor):
{
'url': 'http://www.bet.com/news/politics/2014/12/08/in-bet-exclusive-obama-talks-race-and-racism.html',
'info_dict': {
{
'url': 'http://www.bet.com/news/politics/2014/12/08/in-bet-exclusive-obama-talks-race-and-racism.html',
'info_dict': {
- 'id': '
406429c6-1b8a-463e-83fc-814adb81a9db
',
+ 'id': '
740ab250-bb94-4a8a-8787-fe0de7c74471
',
'display_id': 'in-bet-exclusive-obama-talks-race-and-racism',
'ext': 'flv',
'title': 'BET News Presents: A Conversation With President Obama',
'display_id': 'in-bet-exclusive-obama-talks-race-and-racism',
'ext': 'flv',
'title': 'BET News Presents: A Conversation With President Obama',
@@
-35,7
+35,7
@@
class BetIE(InfoExtractor):
{
'url': 'http://www.bet.com/video/news/national/2014/justice-for-ferguson-a-community-reacts.html',
'info_dict': {
{
'url': 'http://www.bet.com/video/news/national/2014/justice-for-ferguson-a-community-reacts.html',
'info_dict': {
- 'id': '
4160e53b-ad41-43b1-980f-8d85f63121f4
',
+ 'id': '
bcd1b1df-673a-42cf-8d01-b282db608f2d
',
'display_id': 'justice-for-ferguson-a-community-reacts',
'ext': 'flv',
'title': 'Justice for Ferguson: A Community Reacts',
'display_id': 'justice-for-ferguson-a-community-reacts',
'ext': 'flv',
'title': 'Justice for Ferguson: A Community Reacts',
@@
-55,7
+55,6
@@
class BetIE(InfoExtractor):
def _real_extract(self, url):
display_id = self._match_id(url)
def _real_extract(self, url):
display_id = self._match_id(url)
-
webpage = self._download_webpage(url, display_id)
media_url = compat_urllib_parse.unquote(self._search_regex(
webpage = self._download_webpage(url, display_id)
media_url = compat_urllib_parse.unquote(self._search_regex(