Merge branch 'master' of github.com:rg3/youtube-dl
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 25 Aug 2014 16:36:42 +0000 (18:36 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 25 Aug 2014 16:36:42 +0000 (18:36 +0200)
1  2 
youtube_dl/extractor/generic.py

index 44f7ea3fd89b3753052cb152ab3c6750ad1b4b18,59cc8a5ffe515ef26a21a1bcc84e9701ffb6c9fc..3a908d01f23dbfac41ea124c65336cc12eb79e86
@@@ -341,16 -341,6 +341,16 @@@ class GenericIE(InfoExtractor)
                  'uploader': 'www.handjobhub.com',
                  'title': 'Busty Blonde Siri Tit Fuck While Wank at Handjob Hub',
              }
 +        },
 +        # RSS feed
 +        {
 +            'url': 'http://phihag.de/2014/youtube-dl/rss2.xml',
 +            'info_dict': {
 +                'id': 'http://phihag.de/2014/youtube-dl/rss2.xml',
 +                'title': 'Zero Punctuation',
 +                'description': 're:'
 +            },
 +            'playlist_mincount': 11,
          }
      ]
  
                      \s*{[^}]+? ["']?clip["']?\s*:\s*\{\s*
                          ["']?url["']?\s*:\s*["']([^"']+)["']
              ''', webpage)
-             assert found
          if not found:
              # Try to find twitter cards info
              found = re.findall(r'<meta (?:property|name)="twitter:player:stream" (?:content|value)="(.+?)"', webpage)