Update funnyordie.py

pull/8/head
pishposhmcgee 2015-03-10 15:35:35 -05:00
rodzic 614a7e1e23
commit 1593194c63
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -65,8 +65,7 @@ class FunnyOrDieIE(InfoExtractor):
if not sublang in subtitles.keys():
subtitles[sublang]=[]
subext=suburl.split('/')[-1]
print subext
subtitles[sublang].append({'url': suburl,'ext': subext})
subtitles[sublang].append({'url': 'http://www.funnyordie.com'+suburl,'ext': subext})
post_json = self._search_regex(
r'fb_post\s*=\s*(\{.*?\});', webpage, 'post details')