Commit Graph

599 Commits (0dc7d954cb1492834cb07706624b497de4420e23)

Author SHA1 Message Date
Philipp Hagemeister e98b8e79ea [generic] Improve SBS detection (Fixes #4899) 10 years ago
Philipp Hagemeister a0f7198544 [generic] Add support for jwPlayer YouTube videos
This makes nationalarchives.gov.uk work (Fixes #4907, fixes #4876)
10 years ago
naglis f076b63821 [generic/ooyala] Add support for Ooyala embeds on SBN network websites (Fixes #4859) 10 years ago
codesparkle 52585fd6dc The opening curly brace `{` is a regex reserved [control character](http://stackoverflow.com/a/400316/1106367), so it needs to be escaped. 10 years ago
Sergey M․ cb454b333d [generic] Improve some regexes 10 years ago
Shaya G 796df3c631 fixed viddler support - needed a Referer header; also added a viddler
generic extractor
10 years ago
Philipp Hagemeister b1b0b1ca30 [generic] Improve description testcase in rss test 10 years ago
Philipp Hagemeister 501f13fbf3 [generic] Add support for Cinerama player (Fixes #4752) 10 years ago
Philipp Hagemeister 61ca9a80b3 [generic] Add support for BOMs (Fixes #4753) 10 years ago
Philipp Hagemeister d7cc31b63e [generic] PEP8 10 years ago
Jaime Marquínez Ferrándiz cd791a5ea0 [ted] Add support for embed-ssl.ted.com embedded videos 10 years ago
Jaime Marquínez Ferrándiz 87830900a9 [generic] Update some tests 10 years ago
Sergey M․ faa4ea68c0 [generic] Add BBC iPlayer playlist test 10 years ago
Sergey M․ 476eae0c2a [generic] Generalize BBC iPlayer playlist extraction 10 years ago
Sergey M․ 8399267671 [generic] Make getter None by default 10 years ago
Sergey M․ db546cf87f [generic] Add support for BBC iPlayer embeds (Closes #4619) 10 years ago
Philipp Hagemeister 416c7fcbce Add documentation about supported sites (Fixes #4503) 10 years ago
Philipp Hagemeister 42bdd9d051 [cinchcast] Add new extractor (Fixes #4428) 10 years ago
Philipp Hagemeister 4e262a8838 [generic] Detect direct video links (Fixes #4149, #4313) 10 years ago
Philipp Hagemeister 65f3a228b1 [generic] Add support for LazyYT embeds (Fixes #4306) 10 years ago
Philipp Hagemeister b74e86f48a Fix all PEP8 issues except E501 10 years ago
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules 10 years ago
Jouke Waleson 2514d2635e PEP8: E225,E227 10 years ago
Jouke Waleson 8bcc875676 PEP8: more applied 10 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Philipp Hagemeister 9b32eca3ce [generic] Add support for single quotes in HTML5 videos (Fixes #4265) 10 years ago
Philipp Hagemeister af63fed7d8 [generic] Add support for livestream embeds (Fixes #4185) 10 years ago
Jaime Marquínez Ferrándiz 9908e03528 Merge pull request #4076 from ghedo/direct_type
[generic] indicate when a direct video has been extracted
10 years ago
Naglis Jonaitis 37aab27808 [brightcove] Extract m3u8 formats (#3541) 10 years ago
Naglis Jonaitis bdf9701729 [generic/brightcove] Add a new test case for kijk.nl (#3541) 10 years ago
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
Alessandro Ghedini ccdd0ffb80 [generic] indicate when a direct video has been extracted
Fixes #4052.
10 years ago
Sergey M․ 5263cdfcf9 [generic] Improve MLB iframe regex 10 years ago
Philipp Hagemeister ac645ac7d0 [generic] Allow soundcloud embeds with additional attributes 10 years ago
Philipp Hagemeister 48a24ab746 [generic] Fix HTML5 video regexp 10 years ago
Philipp Hagemeister d6d9186f0d [generic] Fix test title 10 years ago
Philipp Hagemeister 37d66e7f1e [generic] Correct call to _webpage_read_full_content 10 years ago
Philipp Hagemeister 70b7e3fbb6 [generic] Add a test case for direct links with broken HEAD (#4032) 10 years ago
Philipp Hagemeister 23be51d8ce [generic] Handle audio streams that do not implement HEAD (Fixes #4032) 10 years ago
Philipp Hagemeister a7e97f6db1 [generic] Allow new SWFObject()-style imports
This embed style is used on http://www.bitburger-open.de/ , but that is not included as a test case since the format is likely to be temporary.
10 years ago
Philipp Hagemeister f2f2c0c2c6 [generic] Allow --default-search without colon 10 years ago
Sergey M․ 281d3f1d68 [generic/wistia] Improve regex 10 years ago
dinesh 85d7b76586 [thoughtworks] wistia regex modified 10 years ago
dinesh 52cffcb186 [thoughtworks] wistia support added 10 years ago
Naglis Jonaitis 9471c44405 [generic] Make sure Wistia embed URLs contain the protocol (Closes #3977)
Also, improve detection (Addresses #3662)
10 years ago
Philipp Hagemeister 09a42738fc [generic] Correct handling of embedded vimeo players (#3955) 10 years ago
Sergey M․ 1419fafd36 [condenast] Add support for embedded videos (Closes #3929) 10 years ago
Sergey M․ ced659bb4d [generic] Ignore some non-video file extensions during generic extraction (Closes #3900) 10 years ago
Naglis Jonaitis 8489578df4 [generic] Support embedded Dailymotion playlists (fixes #3822) 10 years ago
Philipp Hagemeister 07e764439a [generic] Delete test case
The page is not available any more.
10 years ago
Philipp Hagemeister 761e1645e0 [generic] Remove unstable test checksum 10 years ago
Philipp Hagemeister a8eb5a8e61 [generic] Fix testcases 10 years ago
Philipp Hagemeister d6e6a42256 [vimeo:likes] Add new extractor (Fixes #3835) 10 years ago
Philipp Hagemeister c6e90caaa6 Merge remote-tracking branch 'naglis/wistia' 10 years ago
Philipp Hagemeister 6b08cdf626 [youtube] Support for embedded /p players (Fixes #3821) 10 years ago
Philipp Hagemeister 3b2f933b01 [generic] Allow embedded YoutubePlaylists (Fixes #3821) 10 years ago
Naglis Jonaitis 746c67d72f [wistia] Use API and make more generic 10 years ago
Jaime Marquínez Ferrándiz a04aa7a9e6 [generic] The url in the <meta redirect> doesn't need to be enclosed in single quotes (fixes #3770)
See the examples in https://en.wikipedia.org/wiki/Meta_refresh or the shortened urls from https://t.co/.
10 years ago
Sergey M․ 1bf5423e82 [generic/youtube] Recognize youtube nocookie embeds (Closes #3713) 10 years ago
Sergey M․ 1a94ff6865 [mlb] Add support for embedded videos (Closes #3653) 10 years ago
Philipp Hagemeister b759a0d4d2 fix up imports 10 years ago
Philipp Hagemeister 22a6f15061 Move playlist tests to extractors.
From now on, test_download will run these tests. That means we benefit not only from the networking setup in there, but also from the other tests (for example test_all_urls to find problems with _VALID_URLs).
10 years ago
Philipp Hagemeister aff216edf4 [generic] Prevent <video> search from skipping over empty sources (#3546) 10 years ago
Philipp Hagemeister 1cb6dcdbbe [generic] Do not download images as videos by accident 10 years ago
Philipp Hagemeister f971dcbba0 Merge branch 'master' of github.com:rg3/youtube-dl 10 years ago
Philipp Hagemeister 0990305d2a [generic] Fix rss under Python 2.x and move test to extractor 10 years ago
Jaime Marquínez Ferrándiz bcc069a937 [generic] Remove debug statement 10 years ago
Philipp Hagemeister 5f90042bd6 [generic] remove unused imports 10 years ago
Philipp Hagemeister ebab4520ff [generic] Use default opener for HEAD request (Fixes #3528) 10 years ago
Philipp Hagemeister 4d805e063c [generic] Automatic detection of flow player and age_limit (Fixes #3576) 10 years ago
Philipp Hagemeister 4d54ef20a2 [ministrygrid] Add extractor (Fixes #2900) 10 years ago
Philipp Hagemeister 1f8b6af773 [bip.tv] Allow underscore in lookup ids (Fixes #3573) 10 years ago
Philipp Hagemeister 10eaeb20c5 [generic] Require og:video URLs to contain a dot 10 years ago
Philipp Hagemeister fa8deaf38b [generic] Prevent from downloading a .swf as a video
We're seeing quite a number of people who do not put a video file in the og:video field, but the player URL. Try to detect some of these and filter them out.
10 years ago
Philipp Hagemeister c8e9a235d9 [generic] Add support for camtasia videos (Fixes #3574) 10 years ago
Philipp Hagemeister 2ef6fcb5d8 [sbs] Add new extractor (Fixes #3566) 10 years ago
Philipp Hagemeister ed2d6a1960 [generic] Simplify playlist support (#2948) 10 years ago
Philipp Hagemeister c71dfccc98 Merge remote-tracking branch 'anovicecodemonkey/generic-data-video-url'
Conflicts:
	youtube_dl/extractor/generic.py
10 years ago
Sergey M․ 49807b4ac6 [yahoo] Add support for embedded videos (Closes #3525) 10 years ago
Philipp Hagemeister 1f7ccb9014 [generic] Add --default-search fixup_error
This restores the ability to enter URLs without a scheme (and default to http), but still fail if the input is a search term.
10 years ago
Anthony J. Bentley eef4a7a304 Fix typo: “ytseach” → “ytsearch” 10 years ago
Philipp Hagemeister 7571c02c8a [generic] Set default-search to error
This prevents users from submitting bug reports where they mistyped a URL, and prevents me from getting a weird video when holding shift and thus searching for :Tds
10 years ago
Sergey M․ 0364fa8b65 [generic] Add support for ivi.ru embedded player 10 years ago
Jaime Marquínez Ferrándiz c5cd249e41 [generic] Extract mtvservices embedded videos 11 years ago
Philipp Hagemeister 826ec77fb2 [Vulture] Add support for vulture.com 11 years ago
Philipp Hagemeister 2b88feedf7 [generic] Add support for <embed YouTube 11 years ago
anovicecodemonkey 37e3cbe22e Move duplicate check to generic.py 11 years ago
anovicecodemonkey 610134730a Add a _TEST_ 11 years ago
Philipp Hagemeister 0e67ab0d8e [generic] Abort if user passes in URL "url" (#2942) 11 years ago
anovicecodemonkey 3442b30ab2 [generic] Support data-video-url for YouTube embeds (Fixes #2862) 11 years ago
Sergey M․ 8dfa187b8a [generic] Support pagespeed_iframe for NovaMov embeds 11 years ago
Sergey M․ a5a45015ba [generic] Fix redirect 11 years ago
Philipp Hagemeister 2099125333 [soundcloud/generic] Add support for playlists 11 years ago
Sergey M․ 669f0e7cda [generic] Fix wrong entries index 11 years ago
Philipp Hagemeister b30b8698ea [generic] Allow multiple matches for generic hits (Fixes #2818) 11 years ago
Philipp Hagemeister ebd3c7b370 [generic] Add support for protocol-independent URLs (Fixes #2810) 11 years ago
Philipp Hagemeister c0292e8ab7 [generic] Improve jwplayer detection (Fixes #2731) 11 years ago
Philipp Hagemeister 48099643cc [generic] Be more relaxed when looking for aparat embeds (Fixes #2784) 11 years ago
Philipp Hagemeister fa35cdad02 [condenast|generic] Add support for condenast embeds (Fixes #2783) 11 years ago
Sergey M․ fd50bf623c [generic] Modernize tests 11 years ago
Sergey M․ d360a14678 [generic] Update test 11 years ago
Sergey M․ 15c0e8e7b2 [generic] Generalize novamov based embeds 11 years ago
Sergey M․ 7cd3bc5f99 [nowvideo] Support more domains 11 years ago
Sergey M․ 50f566076f [generic] Add support for videoweed embeds 11 years ago
anovicecodemonkey ca6aada48e Fix _TEST for Ustream embed URLs 11 years ago
anovicecodemonkey 5c38625259 [UstreamIE] [generic] Added support for Ustream embed URLs (Fixes #2694) 11 years ago
Philipp Hagemeister 9ad400f75e [generic] Remove test case that has become a 404 11 years ago
Sergey M․ 0479c625a4 [brightcove] Encode object_str with utf-8 11 years ago
Philipp Hagemeister 9c1fc022ae [generic] Warn before fallback to automatic search 11 years ago
Sergey M․ cb3ac1c610 [smotri] Modernize and add support for emdebbed videos (Closes #2585) 11 years ago
Philipp Hagemeister 893f8832b5 [arte] Add support for embedded videos (Fixes #2620) 11 years ago
Jaime Marquínez Ferrándiz 7e2ede9891 [generic] Run TED detection before JW Player detection
Otherwise it overwrittes the `mobj` variable.
11 years ago
Jaime Marquínez Ferrándiz 0f2a2ba14b Merge remote-tracking branch 'dstftw/generic-webpage-unescape'
Conflicts:
	youtube_dl/extractor/generic.py
11 years ago
Jaime Marquínez Ferrándiz 750f9020ae [generic] Recognize more Ooyala embedded videos (#2569) 11 years ago
Philipp Hagemeister aab74fa106 [ted] Simplify embed code (#2587) 11 years ago
anovicecodemonkey 8d7c0cca13 [generic] Add support for embeded TED videos 11 years ago
Jaime Marquínez Ferrándiz ecbe1ad207 [generic] Fix access to removed function in python 3.4
The `Request.get_origin_req_host` method was deprecated in 3.3, use the
 `origin_req_host` property if it's not available, see http://docs.python.org/3.3/library/urllib.request.html#urllib.request.Request.get_origin_req_host.
11 years ago
Sergey M․ 93d020dd65 [generic] Add support for embedded rutv player 11 years ago
Sergey M․ 15fd51b37c [generic] More generic support for embedded vimeo player (#1602) 11 years ago
Sergey M․ d95e35d659 [generic] Add nowvideo test hidden behind percent encoding 11 years ago
Sergey M․ 1439073049 [generic] Add comment for unescaping webpage contents 11 years ago
Sergey M 1f7659dbe9 [generic] Unescape webpage contents 11 years ago
Philipp Hagemeister 60cc4dc4b4 [generic/funnyordie] Add support for funnyordie embeds (Fixes #2546) 11 years ago
Philipp Hagemeister bcf89ce62c [generic] Suppress warning about doctypes in RSS parser 11 years ago
Philipp Hagemeister 0a5bce566f [generic] Add all test attributes for embedly (#2447)
In the future, we may want to not only print something, but throw an error for untested properties.
11 years ago
Philipp Hagemeister 8012bd2424 [generic] Get a better ID 11 years ago
Philipp Hagemeister f55a1f0a88 Merge remote-tracking branch 'rzhxeo/embedly'
Conflicts:
	youtube_dl/extractor/generic.py
11 years ago
Sergey M. ca97a56e4b [vk] Add support for embedded videos (Closes #2473) 11 years ago
rzhxeo 1b86cc41cf Add support for embed.ly 11 years ago
Philipp Hagemeister 89ef304bed [generic] Add support for <meta redirect>
Fixes #413
11 years ago
Sergey M. b1c6c32f78 [generic] Add support for nowvideo embedded videos 11 years ago
Jaime Marquínez Ferrándiz f7300c5c90 [generic] Fix on python 2.6
`ParseError` is not available, it raises `xml.parsers.expat.ExpatError`.
The webpage needs to be encoded.
11 years ago
Philipp Hagemeister 4fc946b546 [generic] Add support for RSS feeds (Fixes #667) 11 years ago
Philipp Hagemeister 99877772d0 [generic] Add support for multiple brightcove URLs (Fixes #2283) 11 years ago
Philipp Hagemeister ab083b08ab [generic] remove testcase
The video seems to have been removed from the site.
11 years ago
Philipp Hagemeister 9f8928d032 [generic] Match JWPlayerOptions
This adds support for The Guardian, among others
Closes #2271, fixes #2267
11 years ago
dst c3f51436bf Improve some regexes for embedded players 11 years ago
Philipp Hagemeister 17ab4d3b5e [brightcove] Move test to generic 11 years ago
Philipp Hagemeister db1f388878 [huffpost] Add support 11 years ago
Philipp Hagemeister 04b4d394d9 Add new --default-search option (#2193) 11 years ago
Philipp Hagemeister 9834872bf6 [facebook] Add support for embeds
Example URL: http://www.hostblogger.de/blog/archives/6181-Auto-jagt-Betonmischer.html
11 years ago
Philipp Hagemeister 3486df383b [generic] Improve testcase 11 years ago
Philipp Hagemeister 2f21eb2db6 [generic] Do not fetch XML URLs (Fixes #2162) 11 years ago
Philipp Hagemeister 3fabeaa1f4 [vimeo] Support protocol-relative URLs 11 years ago
dst 5f59ee7942 [novamov] Remove superfluous tabs 11 years ago
dst 8f89e68781 [novamov] Add embedded player support 11 years ago
Philipp Hagemeister 42e4fcf23a [generic] Fix regexes 11 years ago
Philipp Hagemeister c93c2ab1c3 [mpora] Add support (Fixes #2096) 11 years ago
Philipp Hagemeister 79f8295303 Use original Referer URL in Brightcove requests (Fixes #2110) 11 years ago
Philipp Hagemeister 796495886e [generic] Use unicode_literals instead of duplicating the u' 11 years ago
Philipp Hagemeister fc9713a1d2 [youtube] Support jwplayer with YouTube URLs (Closes #2075) 11 years ago
Philipp Hagemeister d981cef6b9 [generic] Support gorillavid.in
Previously, we were a little bit over-eager and got a random swf file.
Fixes #2084.
11 years ago
Philipp Hagemeister aff24732b9 Merge remote-tracking branch 'rzhxeo/blip'
Conflicts:
	youtube_dl/extractor/bliptv.py
11 years ago
rzhxeo 19dab5e6cc [GenericIE] Outsource embedded blip.tv player video id extraction to BlipTVIE and fix minor errors in RegEx 11 years ago
Philipp Hagemeister c1d1facd06 [generic] Output something before making network requests 11 years ago
Philipp Hagemeister 7115ca84aa [vimeo/generic] Add support for embedded SWF vimeo videos 11 years ago
Philipp Hagemeister aa94a6d315 [aparat] Add support (Fixes #2012) 11 years ago
Philipp Hagemeister 1f9da9049b [generic] Support YouTube swf embed (Fixes #2010) 11 years ago
Jaime Marquínez Ferrándiz c0d0b01f0e [generic] Detect ooyala videos (fixes #2013) 11 years ago
Philipp Hagemeister 3e78514568 [generic] Support application/ogg for direct links
Also remove some debugging code.
11 years ago
Philipp Hagemeister 42393ce234 Add support for direct links to a video (#1973) 11 years ago
Philipp Hagemeister cecaaf3f58 [generic] Do not use compatibility result fallback 11 years ago
Philipp Hagemeister f25571ffbf Add support for embedded vevo player (Fixes #1957) 11 years ago
rzhxeo ee3e63e477 [GenericIE] Add support for embedded blip.tv 11 years ago
Philipp Hagemeister ef4fd84857 [wistia] Add extractor 11 years ago
Philipp Hagemeister 355e4fd07e [generic] Find embedded dailymotion videos (Fixes #1848) 11 years ago
Philipp Hagemeister 113577e155 [generic] Improve detection
Allow download of http://goo.gl/7X5tOk
Fixes #1818
11 years ago
Jaime Marquínez Ferrándiz 0980426559 [bandcamp] add support for albums (reported in #1270) 11 years ago
Philipp Hagemeister 887c6acdf2 Support multiple embedded YouTube URLs (Fixes #1787) 11 years ago
Jaime Marquínez Ferrándiz dd5bcdc4c9 [brightcove] Set the 'Referer' header if the url has the 'linkBaseUrl' parameter (fixes #1553) 11 years ago
Jaime Marquínez Ferrándiz eeb165e674 [brightcove] Add the extraction of the url from generic 11 years ago
Jaime Marquínez Ferrándiz 9ee2b5f6f2 tests: don't run the test if any of the extractors listed in the 'add_ie' field is marked as not working 11 years ago
rzhxeo 2dcf7d8f99 [GenericIE] Also detect youtube if src url of iframe is embedded in ' instaed of " 11 years ago
Jaime Marquínez Ferrándiz c19f7764a5 [generic] Detect bandcamp pages that use custom domains (closes #1662)
They embed the original url in the 'og:url' property.
11 years ago
Jaime Marquínez Ferrándiz aa929c37d5 [generic] Fix test video's checksum 11 years ago
Philipp Hagemeister 53c1d3ef49 Check for embedded YouTube player (Fixes #1616) 11 years ago
Philipp Hagemeister 9d4660cab1 [generic] Support embedded vimeo videos (#1602) 11 years ago
Joey Adams 3283533149 Fix Brightcove detection when another Flash object is on the page
The regex used non-greedy match, but alas it failed on input like this:

    <object class="...> ... class="BrightcoveExperience"

It captured two objects and the intervening HTML.  This commit fixes this by
not allowing a ">" to appear before BrightcoveExperience.

Video in question: http://www.harpercollinschildrens.com/feature/petethecat/
11 years ago
Philipp Hagemeister e484c81f0c [generic] Clarify error messages 11 years ago
Jaime Marquínez Ferrándiz 592882aa9f [brightcove] Support videos that only provide flv versions (fixes #1504)
Moved the test from generic.py to brightcove.py
11 years ago
Jaime Marquínez Ferrándiz a7130543fa [generic] If the url doesn't specify the protocol, then try to extract prepending 'http://' 11 years ago
Jaime Marquínez Ferrándiz 08e291b54d [generic] Recognize html5 video in the format '<video src=".+?"' and only unquote the url when extracting the id (fixes #1372) 11 years ago
Philipp Hagemeister a5caba1eb0 [generic] simply use urljoin 11 years ago
Philipp Hagemeister ae3531adf9 [generic] Fix URL concatenation
When the url is something like http://example.org/foo/bar?x=y  and the added is file/video.mp4 , we want http://example.org/foo/file/video.mp4
Fixes #1268.
11 years ago
Philipp Hagemeister 627a91a9a8 [generic] small typo 11 years ago
Philipp Hagemeister 9585f890f8 [generic] add support for relative URLs (Fixes #1308) 11 years ago
Philipp Hagemeister 0838239e8e [generic] Support double slash URLs (Fixes #1309) 11 years ago
Philipp Hagemeister 7fea7156cb [generic] support HTML5 video 11 years ago
Philipp Hagemeister 3093468977 [generic] Ignore stupid HTTP servers (#1284) 11 years ago
Jaime Marquínez Ferrándiz 232eb88bfe GenericIE: allow to match declaration of the Brightocove parameters that use ' instead of " 11 years ago
Jaime Marquínez Ferrándiz 117adb0f0f GenericIE: detect more Brightcove videos
In some sites "class" contains more that BrightcoveExperience
11 years ago
Jaime Marquínez Ferrándiz cfe50f04ed GenericIE: Detect videos from Brightcove
Brightcove videos info is usually found in an <object class="BrightcoveExperience"></object> node, this is passed to a new method of BrightcoveIE that builds a url to extract the video.
11 years ago
Jaime Marquínez Ferrándiz 5c44c15438 GenericIE: match titles that spread across multiple lines (related #904) 12 years ago
Philipp Hagemeister 0f81866329 Add --list-extractor-descriptions (human-readable list of IEs) 12 years ago
Philipp Hagemeister 4269e78a80 Merge branch 'master' of github.com:rg3/youtube-dl 12 years ago
Philipp Hagemeister 6f5ac90cf3 Move tests to the IE definitions 12 years ago
Albert Kim 27473d18da Made 'video' the default title for generic IE 12 years ago
Albert Kim 52c8ade4ad Made generic IE handle more cases
Added a possible quote after file, so it can now handle cases like:
'file': 'http://www.a.com/b.mp4'
12 years ago
Philipp Hagemeister 9b122384e9 Move GenericIE into its own file 12 years ago