Commit Graph

23 Commits (3b4444f99a9fe84eab577fb4832972ef06a236e1)

Author SHA1 Message Date
Sergey M․ 35b7982303 [appletrailers] Add test (#5027) 10 years ago
Sergey M․ f311cfa231 [appletrailers] Extend _VALID_URL (Closes #5027) 10 years ago
Philipp Hagemeister 11e611a7fa Extend various playlist tests 10 years ago
codesparkle 5468ff4d91 Remove duplicate dictionary keys 10 years ago
Jaime Marquínez Ferrándiz e1554a407d [extractors] Use http_headers for setting the User-Agent and the Referer 10 years ago
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
Philipp Hagemeister e91cdcae1a [appletrailers] Modernize 10 years ago
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules 10 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Philipp Hagemeister 9572013de9 [appletrailers] Support height-less videos 11 years ago
Philipp Hagemeister acd213ed6d Remove unusued imports 11 years ago
Jaime Marquínez Ferrándiz 28acf5500a [appletrailers] Modernize 11 years ago
Philipp Hagemeister 3798eadccd More unicode literals 11 years ago
Philipp Hagemeister 7b8af56340 [appletrailers] Use centralized format selection 11 years ago
Jaime Marquínez Ferrándiz 1825836235 Use `_download_xml` in more extractors 11 years ago
Philipp Hagemeister 29030c0a4c Merge remote-tracking branch 'dstftw/correct-valid-urls' 11 years ago
dst c0ade33e16 Correct some extractor _VALID_URL regexes 11 years ago
Jaime Marquínez Ferrándiz fb7abb31af Remove the compatibility code used before the new format system was implemented 11 years ago
Jaime Marquínez Ferrándiz bb4aa62cf7 [appletrailers] The request for the settings must have the trailer name in lower case (fixes #1329) 11 years ago
Jaime Marquínez Ferrándiz 843530568f [appletrailers] Rework extraction (fixes #1387)
The exraction was broken:
* The includes page contains img elements that need to be fixed.
* Use the 'itunes.inc' page, it contains a json dictionary for each trailer with information.
* Get the formats from 'includes/settings{trailer_name}.json'
* Use urljoin to allow urls with a fragment identifier to work

Removed the thumbnail urls from the tests, they are different now.
11 years ago
Philipp Hagemeister ce6a696e4d Remove unused imports 12 years ago
Philipp Hagemeister 2eabb80254 [addanime] improve 12 years ago
Philipp Hagemeister 44586389e4 [appletrailers] Add support 12 years ago