Commit Graph

23 Commits (9dd73ef4a49597e73388e7e97e32eae5d0f0f027)

Author SHA1 Message Date
Yen Chi Hsuan 9ee53a49f0 [YouPorn] Fix extractor
Jaime Marquínez Ferrándiz 70a1165b32 Don't use bare 'except:'
They catch any exception, including KeyboardInterrupt, we don't want to catch it.
Sergey M․ 50c9949d7a [youporn] Imrove JSON regex and preserve the old one
chaos33 e0d0572b73 fix youporn extractor's json search regex
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
Philipp Hagemeister 58daf5ebed [youporn] Fix JSON parameter regexp (Fixes )
Philipp Hagemeister 8865bdeb37 Remove useless u prefixes
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules
Jouke Waleson 5f6a1245ff PEP8 applied
Philipp Hagemeister 652f283135 [youporn] Remove md5 from test
Has changed multiple times, and we're checking that it looks like a video now by default.
Philipp Hagemeister f24e9833dc [youporn] Modernize
Philipp Hagemeister bfe9de8510 [youporn] Add support for multiple formats
Jaime Marquínez Ferrándiz a56f9de156 Style fixes for extractors: remove spaces around (,),{ and }
rzhxeo 6e76104d66 [YouPornIE] Make webpage download more robust
rzhxeo 7df286540f [YouPornIE] Extract all encrypted links and remove doubles at the end
Rogério Brito 8ed6b34477 extractor: Set age limit on some adult-related extractors.
This is similar in spirit to what was done in commit 8e590a117f.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
Philipp Hagemeister cfadd183c4 Call extracted property age_limit everywhere
Philipp Hagemeister 8dbe9899a9 Allow users to specify an age limit (fixes )
With these changes, users can now restrict what videos are downloaded by the intented audience, by specifying their age with --age-limit YEARS .
Add rudimentary support in youtube, pornotube, and youporn.
rzhxeo 878e83c5a4 YoupornIE: Clean up extraction of hd video
Philipp Hagemeister 48ea9cea77 Allow changes to run under Python 3
rzhxeo 97b3656c2e YoupornIE: Add support for hd videos and update Test
Philipp Hagemeister 6f5ac90cf3 Move tests to the IE definitions
Philipp Hagemeister 0143dc029c [YouPorn] move into own file