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
10 years ago
Jouke Waleson
9e1a5b8455
PEP8: applied even more rules
10 years ago
Jouke Waleson
8bcc875676
PEP8: more applied
10 years ago
Philipp Hagemeister
ea6e8d5454
[metacafe] Add support for movieclips videos ( Fixes #3555 )
10 years ago
Philipp Hagemeister
c15235cd07
[metacafe] Avoid excessive nesting
10 years ago
Philipp Hagemeister
12c3ec3382
[metacafe] Simplify
10 years ago
Sergey M․
2c1396073e
[metacafe] Remove accidently inserted comment string
11 years ago
Sergey M․
401983c6a0
[metacafe] More modernize
11 years ago
Sergey M․
391dc3ee07
[metacafe] Replace cbs test
11 years ago
Sergey M․
be3b8fa30f
[metacafe] Modernize
11 years ago
ruuk
54ab193970
Extract thumbnail with _og_search_thumbnail
11 years ago
ruuk
76df418cba
Add thumbnail for metacafe
11 years ago
Philipp Hagemeister
2101830c0d
Remove unused imports
11 years ago
Jaime Marquínez Ferrándiz
baa7b1978b
Remove the calls to 'compat_urllib_request.urlopen' in a few extractors
11 years ago
Jaime Marquínez Ferrándiz
b9a2c53833
[metacafe] Add support for cbs videos ( fixes #1838 )
They use theplatform.com
11 years ago
Jaime Marquínez Ferrándiz
66cf3ac342
[metacafe] Fix support for age-restricted videos ( fixes #1696 )
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.
11 years ago
Jaime Marquínez Ferrándiz
ea32fbacc8
Fix the extensions of two tests with youtube videos
The best quality is now a mp4 video.
11 years ago
Jaime Marquínez Ferrándiz
6c758d79de
[metacafe] Add more cases for detecting the uploader detection (reported in #1343 )
11 years ago
Philipp Hagemeister
bf85454116
[metacafe] Fix test
11 years ago
Philipp Hagemeister
5910724b11
[metacafe] New result format
11 years ago
Philipp Hagemeister
7e24b09da9
[metacafe] Extract description
11 years ago
Philipp Hagemeister
f085f960e7
[metacafe] Fix uploader detection
11 years ago
Philipp Hagemeister
ec00e1d8a0
[metacafe] Use modern helper methods
12 years ago
Philipp Hagemeister
896d5b63e8
[metacafe] Add support for AnyClip videos ( #1059 )
12 years ago
Philipp Hagemeister
0d843f796b
Remove superfluous name declarations
12 years ago
Philipp Hagemeister
83f6f68e79
[metacafe] move tests
12 years ago
Philipp Hagemeister
38cbc40a64
Move Metacafe and Statigram into their own files, and remove absolute import
12 years ago