projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f37e3f9
)
[sockshare] Do not require thumbnail anymore
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 19 Feb 2015 01:04:28 +0000
(
02:04
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 19 Feb 2015 01:04:30 +0000
(
02:04
+0100)
Thumbnail is not present on the website anymore.
youtube_dl/extractor/sockshare.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/sockshare.py
b/youtube_dl/extractor/sockshare.py
index 7d3c0e93783afeac3d8e939e0cf317177df4ca9f..b5fa6f1da203c993873622a9ee80c923300eebb2 100644
(file)
--- a/
youtube_dl/extractor/sockshare.py
+++ b/
youtube_dl/extractor/sockshare.py
@@
-25,7
+25,6
@@
class SockshareIE(InfoExtractor):
'id': '437BE28B89D799D7',
'title': 'big_buck_bunny_720p_surround.avi',
'ext': 'avi',
- 'thumbnail': 're:^http://.*\.jpg$',
}
}
@@
-45,7
+44,7
@@
class SockshareIE(InfoExtractor):
''', webpage, 'hash')
fields = {
- "hash": confirm_hash,
+ "hash": confirm_hash
.encode('utf-8')
,
"confirm": "Continue as Free User"
}
@@
-68,7
+67,7
@@
class SockshareIE(InfoExtractor):
webpage, 'title', default=None)
thumbnail = self._html_search_regex(
r'<img\s+src="([^"]*)".+?name="bg"',
- webpage, 'thumbnail')
+ webpage, 'thumbnail'
, default=None
)
formats = [{
'format_id': 'sd',