22 Commits (70a1165b32acf253905109e9b4f245295d67af1f)

Author SHA1 Message Date
Jaime Marquínez Ferrándiz 70a1165b32 Don't use bare 'except:'
They catch any exception, including KeyboardInterrupt, we don't want to catch it.
9 years ago
Sergey M․ 50c9949d7a [youporn] Imrove JSON regex and preserve the old one 9 years ago
chaos33 e0d0572b73 fix youporn extractor's json search regex 9 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 58daf5ebed [youporn] Fix JSON parameter regexp (Fixes #4384) 10 years ago
Philipp Hagemeister 8865bdeb37 Remove useless u prefixes 10 years ago
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules 10 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
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.
10 years ago
Philipp Hagemeister f24e9833dc [youporn] Modernize 10 years ago
Philipp Hagemeister bfe9de8510 [youporn] Add support for multiple formats 11 years ago
Jaime Marquínez Ferrándiz a56f9de156 Style fixes for extractors: remove spaces around (,),{ and } 11 years ago
rzhxeo 6e76104d66 [YouPornIE] Make webpage download more robust 11 years ago
rzhxeo 7df286540f [YouPornIE] Extract all encrypted links and remove doubles at the end 11 years ago
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>
11 years ago
Philipp Hagemeister cfadd183c4 Call extracted property age_limit everywhere 11 years ago
Philipp Hagemeister 8dbe9899a9 Allow users to specify an age limit (fixes #1545)
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.
11 years ago
rzhxeo 878e83c5a4 YoupornIE: Clean up extraction of hd video 11 years ago
Philipp Hagemeister 48ea9cea77 Allow changes to run under Python 3 11 years ago
rzhxeo 97b3656c2e YoupornIE: Add support for hd videos and update Test 11 years ago
Philipp Hagemeister 6f5ac90cf3 Move tests to the IE definitions 11 years ago
Philipp Hagemeister 0143dc029c [YouPorn] move into own file 11 years ago