Commit Graph

63 Commits (5239075bb684bc2c19978dde70e3954bbe7a62de)

Author SHA1 Message Date
Philipp Hagemeister 8c25f81bee [util] Move compatibility functions out of util
utils is large enough without these compatibility functions.

Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py .
Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
10 years ago
Philipp Hagemeister 9dec99303d [vimeo:review] Fix test title 10 years ago
Philipp Hagemeister c9f08154a3 Remove unused imports 10 years ago
Jaime Marquínez Ferrándiz 4698f0d858 [vimeo] Improve regex for the config js dict (fixes #3955, fixes #3974)
The javascript code contains assignments of empty dicts with the same variable name
10 years ago
Jaime Marquínez Ferrándiz 3357110a4c [vimeo] Make the protocol mandatory in the url (fixes #3926)
If it's missing, it will be correctly handled by the generic IE.
10 years ago
Philipp Hagemeister 58ea7ec81e [vimeo] Fix description extraction 10 years ago
Philipp Hagemeister 2593039522 [vimeo] Use regexps to find description
This fixes descriptions on 2.6 and makes the code simpler.
10 years ago
Philipp Hagemeister 9c44d2429b [vimeo:likes] Support large like lists (Fixes #3847) 10 years ago
Philipp Hagemeister d6e6a42256 [vimeo:likes] Add new extractor (Fixes #3835) 10 years ago
Philipp Hagemeister 2929b3e71d [vimeo] Move all testcases to extractors and clean up
Previously, these extractors all defined their own suitable methods.
No test_all_urls tests that everything is in order, automatically :)
10 years ago
Philipp Hagemeister d36d3f420c [vimeo] Move test case to where it belongs 10 years ago
Philipp Hagemeister ba5d51b340 [vimeo] Always pass in referer (Fixes #3582) 10 years ago
Dobrosław Żybort 3e510af38d [vimeo] Ignore video 'base' thumbnail (Closes #3438) 10 years ago
Sergey M․ 548f31d99c [vimeo] Use original URL when for standard vimeo.com links (Closes #3428)
Some videos that are freely accessible without password via the original URL (e.g. http://vimeo.com/channels/keypeele/75629013)
ask for password when accessed via http://vimeo.com/<video_id>.
10 years ago
Philipp Hagemeister 0e6ebc13d1 [vimeo] Update test description 10 years ago
Sergey M․ 69c8fb9e5d [vimeo] Add video duration extraction(Closes #2876) 11 years ago
Jaime Marquínez Ferrándiz 4f3e943080 [vimeo] Some modernization and style fixes 11 years ago
Jaime Marquínez Ferrándiz 7558830fa3 [vimeo] Fix description extraction 11 years ago
Jaime Marquínez Ferrándiz efb7e11988 [vimeo] Add an extractor for the watch later list (closes #2787) 11 years ago
Jaime Marquínez Ferrándiz a980bc4324 [vimeo] Fix logging in python 3.x
The POST data must be a bytes object.
11 years ago
Jaime Marquínez Ferrándiz b1ff87224c [vimeo] Now VimeoIE doesn't match urls of channels with a numeric id (fixes #2552) 11 years ago
Philipp Hagemeister 1060425cbb [vimeo] Add a better error message for embed-only videos (#2527) 11 years ago
Sergey M. c0e5d85631 [vimeo] Improve thumbnail extraction 11 years ago
Sergey M. ca7fa3dcb3 [vimeo] Fix thumbs extraction (Closes #2480) 11 years ago
Philipp Hagemeister ad5976b4d9 [vimeo] Modernize test definition 11 years ago
Sergey M. b0268cb6ce [vimeo] Remove superfluous whitespace 11 years ago
Sergey M. 1eac553e7e [vimeo] Add support for subtitles (Closes #2239) 11 years ago
Jaime Marquínez Ferrándiz 59188de113 Properly escape ‘.’ in some _VALID_URL properties 11 years ago
Philipp Hagemeister 3fabeaa1f4 [vimeo] Support protocol-relative URLs 11 years ago
Philipp Hagemeister 0eecc6a417 [vimeo] Add support for passwords for player. URLs
Fixes #2053
11 years ago
Philipp Hagemeister 48a2034671 [vimeo] Fix playlist URL matching 11 years ago
Philipp Hagemeister fcee8ee784 [vimeo] Use _search_regex 11 years ago
Philipp Hagemeister 9148eb002b [vimeo] Use unicode_literals 11 years ago
Philipp Hagemeister 559e370f44 [vimeo] Proper warning when password is required (Fixes #2053)
In player. URLs, the password warning is different.
11 years ago
Philipp Hagemeister fcea44c6d5 [vimeo] Add support for review pages
Since the regexp is already overboarding and review pages have a distinct URL format (with non-trivial stuff after the ID), use a dedicated IE.
Fixes #2106
11 years ago
Philipp Hagemeister 7115ca84aa [vimeo/generic] Add support for embedded SWF vimeo videos 11 years ago
Philipp Hagemeister bbafbe20c2 [vimeo] Better formatting for regexp 11 years ago
Jaime Marquínez Ferrándiz a0088bdf93 [vimeo] Fix unused argument of the `_real_extract` method 11 years ago
Jaime Marquínez Ferrándiz 48ad51b243 [vimeo] Fix the extraction for some 'player' or 'pro' videos
The variable the config dict is assigned to can change, now we try to detect it or fallback to a, b or c
11 years ago
Jaime Marquínez Ferrándiz fb30ec22fd [vimeo] Add an extractor for groups 11 years ago
Jaime Marquínez Ferrándiz 5cc14c2fd7 [vimeo] Add an extractor for albums (closes #1911) 11 years ago
Jaime Marquínez Ferrándiz 4e76179476 [vimeo] Extract views count, likes count and comments count (#1895) 11 years ago
Jaime Marquínez Ferrándiz 55a10eab48 [vimeo] Add an extractor for users (closes #1871) 11 years ago
Jaime Marquínez Ferrándiz 241650c7ff [vimeo] Fix the extraction of vimeo pro and player.vimeo.com videos 11 years ago
Jaime Marquínez Ferrándiz a56f9de156 Style fixes for extractors: remove spaces around (,),{ and } 11 years ago
Jaime Marquínez Ferrándiz 9103bbc5cd Add the 'webpage_url' field to info_dict
The url for the video page, it must allow to reproduce the result.
It's automatically set by YoutubeDL if it's missing.
11 years ago
Filippo Valsorda b9a836515f Update the Vimeo test vector md5
confirmed that this is indeed the first 10241 (we went off by one with
byte range 0-10240) of the full, playing mp4, so they probably
reencoded or something
11 years ago
Philipp Hagemeister 1003d108d5 [vimeo] Support hash in URL (Fixes #1669) 11 years ago
Jaime Marquínez Ferrándiz 93b22c7828 [vimeo] fix the extraction for videos protected with password
Added a test video.
11 years ago
Jaime Marquínez Ferrándiz 55b3e45bba [vimeo] Fix pro videos and player.vimeo.com urls
The old process can still be used for those videos.
Added RegexNotFoundError, which is raised by _search_regex if it can't extract the info.
11 years ago