Commit Graph

27 Commits (74f8654a53ed56dd813ace704151ea575963cabb)

Author SHA1 Message Date
Philipp Hagemeister 1cc79574fc Fix imports and general cleanup
· Import from compat what comes from compat. Yes, some names are available in utils too, but that's an implementation detail.
· Use _match_id consistently whenever possible
· Fix some outdated tests
· Use consistent valid URL (always match the whole protocol, no ^ at start required)
· Use modern test definitions
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules
Jouke Waleson 8bcc875676 PEP8: more applied
Philipp Hagemeister ea6e8d5454 [metacafe] Add support for movieclips videos (Fixes )
Philipp Hagemeister c15235cd07 [metacafe] Avoid excessive nesting
Philipp Hagemeister 12c3ec3382 [metacafe] Simplify
Sergey M․ 2c1396073e [metacafe] Remove accidently inserted comment string
Sergey M․ 401983c6a0 [metacafe] More modernize
Sergey M․ 391dc3ee07 [metacafe] Replace cbs test
Sergey M․ be3b8fa30f [metacafe] Modernize
ruuk 54ab193970 Extract thumbnail with _og_search_thumbnail
ruuk 76df418cba Add thumbnail for metacafe
Philipp Hagemeister 2101830c0d Remove unused imports
Jaime Marquínez Ferrándiz baa7b1978b Remove the calls to 'compat_urllib_request.urlopen' in a few extractors
Jaime Marquínez Ferrándiz b9a2c53833 [metacafe] Add support for cbs videos (fixes )
They use theplatform.com
Jaime Marquínez Ferrándiz 66cf3ac342 [metacafe] Fix support for age-restricted videos (fixes )
The 'Content-Type' header must be set for disabling the family filter.
The 'flashversion' cookie  is only needed for AnyClip videos.
Added tests for standard metacafe videos and for age-restricted videos.
Also set the 'age_limit' field.
Jaime Marquínez Ferrándiz ea32fbacc8 Fix the extensions of two tests with youtube videos
The best quality is now a mp4 video.
Jaime Marquínez Ferrándiz 6c758d79de [metacafe] Add more cases for detecting the uploader detection (reported in )
Philipp Hagemeister bf85454116 [metacafe] Fix test
Philipp Hagemeister 5910724b11 [metacafe] New result format
Philipp Hagemeister 7e24b09da9 [metacafe] Extract description
Philipp Hagemeister f085f960e7 [metacafe] Fix uploader detection
Philipp Hagemeister ec00e1d8a0 [metacafe] Use modern helper methods
Philipp Hagemeister 896d5b63e8 [metacafe] Add support for AnyClip videos ()
Philipp Hagemeister 0d843f796b Remove superfluous name declarations
Philipp Hagemeister 83f6f68e79 [metacafe] move tests
Philipp Hagemeister 38cbc40a64 Move Metacafe and Statigram into their own files, and remove absolute import