]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Update funnyordie.py
authorpishposhmcgee <pishposh.mcgee@gmail.com>
Tue, 10 Mar 2015 20:35:35 +0000 (15:35 -0500)
committerpishposhmcgee <pishposh.mcgee@gmail.com>
Tue, 10 Mar 2015 20:35:35 +0000 (15:35 -0500)
youtube_dl/extractor/funnyordie.py

index f832ac5c3a265cab82c1c39c9c5f1bb3e5fb74d4..0a22d99d2dbe7d510c37439dac2779d60a883b45 100644 (file)
@@ -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')