projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed viddler support - needed a Referer header; also added a viddler
[youtube-dl]
/
youtube_dl
/
extractor
/
clipfish.py
diff --git
a/youtube_dl/extractor/clipfish.py
b/youtube_dl/extractor/clipfish.py
index 669919a2cc9039ffb91ae052b96d5531665341e0..a5c3cb7c6253776062fb5834d0fe4c121dfb9c99 100644
(file)
--- a/
youtube_dl/extractor/clipfish.py
+++ b/
youtube_dl/extractor/clipfish.py
@@
-24,7
+24,7
@@
class ClipfishIE(InfoExtractor):
'title': 'FIFA 14 - E3 2013 Trailer',
'duration': 82,
},
'title': 'FIFA 14 - E3 2013 Trailer',
'duration': 82,
},
-
u
'skip': 'Blocked in the US'
+ 'skip': 'Blocked in the US'
}
def _real_extract(self, url):
}
def _real_extract(self, url):
@@
-34,7
+34,7
@@
class ClipfishIE(InfoExtractor):
info_url = ('http://www.clipfish.de/devxml/videoinfo/%s?ts=%d' %
(video_id, int(time.time())))
doc = self._download_xml(
info_url = ('http://www.clipfish.de/devxml/videoinfo/%s?ts=%d' %
(video_id, int(time.time())))
doc = self._download_xml(
- info_url, video_id, note=
u
'Downloading info page')
+ info_url, video_id, note='Downloading info page')
title = doc.find('title').text
video_url = doc.find('filename').text
if video_url is None:
title = doc.find('title').text
video_url = doc.find('filename').text
if video_url is None: