]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Merge remote-tracking branch 'rzhxeo/embedly'
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 5 Mar 2014 13:01:53 +0000 (14:01 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 5 Mar 2014 13:01:53 +0000 (14:01 +0100)
Conflicts:
youtube_dl/extractor/generic.py

1  2 
youtube_dl/extractor/generic.py

index 641d9babb5cea29ff753fe30ab038db84481db37,e84c022a587cf7cae22f3d6ec33fdbf15f07098b..dd60bc418e2214c2c71f2f41a5e629a9ccc74192
@@@ -101,22 -102,18 +101,34 @@@ class GenericIE(InfoExtractor)
                  'title': '2cc213299525360.mov',  # that's what we get
              },
          },
-         }
 +        # google redirect
 +        {
 +            'url': 'http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCUQtwIwAA&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcmQHVoWB5FY&ei=F-sNU-LLCaXk4QT52ICQBQ&usg=AFQjCNEw4hL29zgOohLXvpJ-Bdh2bils1Q&bvm=bv.61965928,d.bGE',
 +            'info_dict': {
 +                'id': 'cmQHVoWB5FY',
 +                'ext': 'mp4',
 +                'upload_date': '20130224',
 +                'uploader_id': 'TheVerge',
 +                'description': 'Chris Ziegler takes a look at the Alcatel OneTouch Fire and the ZTE Open; two of the first Firefox OS handsets to be officially announced.',
 +                'uploader': 'The Verge',
 +                'title': 'First Firefox OS phones side-by-side',
 +            },
 +            'params': {
 +                'skip_download': False,
 +            }
++        },
+         # embed.ly video
+         {
+             'url': 'http://www.tested.com/science/weird/460206-tested-grinding-coffee-2000-frames-second/',
+             'info_dict': {
+                 'id': '9ODmcdjQcHQ',
+                 'ext': 'mp4',
+             },
+             # No need to test YoutubeIE here
+             'params': {
+                 'skip_download': True,
+             },
+         },
      ]
  
      def report_download_webpage(self, video_id):