Commit Graph

115 Commits (03486dbb0133e42074c272f60e24f18c856fdf0d)

Author SHA1 Message Date
remitamine 9550ca506f [utils] change extract_attributes to work in python 2 9 years ago
Jaime Marquínez Ferrándiz 36e6f62cd0 Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x (#7178)
Attributes aren't unicode objects, so they couldn't be directly used in info_dict fields (for example '--write-description' doesn't work with bytes).
9 years ago
remitamine c01e1a96aa [brightcove] fix test and fields extraction 9 years ago
remitamine 53407e3f38 [brightcove] fix streaming_src extraction 9 years ago
remitamine ed1269000f [brightcove] add support for brightcove in page embed(fixes #6824) 9 years ago
Sergey M․ e20d0c1e69 [brightcove] Use `compat_xml_parse_error` (Closes #6060) 10 years ago
Sergey M․ af9cdee9cb [brightcove] Improve and generalize brightcove URL extraction from JS 10 years ago
fnord b4e1576aee Brightcove extractor: support customBC.createVideo(...); method
found in http://www.americanbar.org/groups/family_law.html and
http://america.aljazeera.com/watch/shows/america-tonight/2015/6/exclusive-hunting-isil-with-the-pkk.html
10 years ago
Yen Chi Hsuan b26733ba7f [brightcove] Allow single quotes in Brightcove URLs (fixes #5901) 10 years ago
Yen Chi Hsuan 9fc03aa87c [brightcove] Always return lists from _extract_brightcove_urls
In Python 3, filter() returns an iterable object, which is equivalently
to True even for an empty result set. It causes false positive playlists
in generic extraction logic.
10 years ago
Sergey M․ 94c1255782 [brightcove] Handle non well-formed XMLs (#5421) 10 years ago
Sergey M․ 476e1095fa [brightcove] Improve brightcove experience regex (Closes #5421) 10 years ago
Philipp Hagemeister d47c26e168 [brightcove] Correct keys in playlists 10 years ago
Philipp Hagemeister c1147c05e1 [brightcove] Fix up more generically invalid XML (Fixes #4849) 10 years ago
Philipp Hagemeister ec05fee43a [brightcove] Add shorter URL scheme for other extractors 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
Jaime Marquínez Ferrándiz 233d37fb6b [brightcove] Make sure that the 'ext' variable is set (fixes #4360) 10 years ago
Jaime Marquínez Ferrándiz 4d46c1c68c [brightcove] Improve error message detection (#4256) 10 years ago
Jaime Marquínez Ferrándiz d6f714f321 [brightcove] Remove the namespace from the BrightcoveExperience html object 10 years ago
Naglis Jonaitis 37aab27808 [brightcove] Extract m3u8 formats (#3541) 10 years ago
Naglis Jonaitis b5af6fcdad [brightcove] Make _VALID_URL less greedy and check for empty URLs (#3541) 10 years ago
Jaime Marquínez Ferrándiz bd4e40df1a [brightcove] Add a test for playlists 10 years ago
Philipp Hagemeister e1ab5000b2 [brightcove] Add support for videoId= in og:video meta (Fixes #3571) 10 years ago
Philipp Hagemeister a5ed3e571e [brightcove] Detect geoblocking 10 years ago
Philipp Hagemeister 6857590059 [brightcove] Add a truncated URL warning message (#3571) 10 years ago
Jaime Marquínez Ferrándiz 35eacd0dae [brightcove] Set the filesize of the formats and use _sort_formats 11 years ago
Jaime Marquínez Ferrándiz 96bef88f5f [brightcove] Modernize some tests 11 years ago
Jaime Marquínez Ferrándiz 5524b242a7 [brightcove] Add support for renditions with 'remote' set to True (fixes #3081)
The url needs to be modified to get the flv video.
11 years ago
Jaime Marquínez Ferrándiz a013eba65f [brightcove] Improve the 'experienceJSON' regex (#3081)
One of the strings may contain ';', we would get an invalid json string.
11 years ago
Jaime Marquínez Ferrándiz 381640e3ac [brightcove] Only use url from meta element if it has the 'playerKey' field (fixes #2738) 11 years ago
Sergey M․ 0479c625a4 [brightcove] Encode object_str with utf-8 11 years ago
Jaime Marquínez Ferrándiz ac6e4ca1ed [brightcove] Unescape html entities from the 'og:video' url property (fixes #2360) 11 years ago
Philipp Hagemeister 99877772d0 [generic] Add support for multiple brightcove URLs (Fixes #2283) 11 years ago
Philipp Hagemeister 17ab4d3b5e [brightcove] Move test to generic 11 years ago
Philipp Hagemeister 117bec936c [brightcove] Parse URL from meta element if available (Fixes #2253) 11 years ago
Philipp Hagemeister 066f6a0630 [nowness] Add support 11 years ago
Jaime Marquínez Ferrándiz 47917f24c4 [brightcove] Fix extraction of embedded videos
There was a leading ‘:’ in the regex.
The ‘flashvars’ parameter is not always available.
11 years ago
Jaime Marquínez Ferrándiz d614aa40e3 [brightcove] Fix check for url in the result
It may have the ‘formats’ field instead of ‘url’.
11 years ago
Philipp Hagemeister 7b0817e8e1 [servingsys] Add support
This also adds support for brightcove advertisements.
Fixes #2181
11 years ago
Jaime Marquínez Ferrándiz db22af36ec [brightcove] The ‘id’ attribute is not always present in the object tag (fixes #2132)
It looks like the ‘flashId’ parameter is not needed.
11 years ago
Philipp Hagemeister 79f8295303 Use original Referer URL in Brightcove requests (Fixes #2110) 11 years ago
Philipp Hagemeister 400e58103d [brightcove] Use unicode_literals 11 years ago
Philipp Hagemeister c4d55a33fc [brightcove] Test checksum changed 11 years ago
Philipp Hagemeister f8bd0194a7 Remove superfluous spaces 11 years ago
Jaime Marquínez Ferrándiz 77526143e7 [brightcove] Use the original url (usually the player) as the default referer (fixes #1929) 11 years ago
Jaime Marquínez Ferrándiz d214fdb8fe [brightcove] Don't use 'or' with the xml nodes, use the 'value' attribute instead 11 years ago
Jaime Marquínez Ferrándiz 36de0a0e1a [brightcove] Set the 'videoPlayer' value to the 'videoId' if it's missing in the parameters (fixes #1815) 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 51040b72ed [brightcove] Support redirected urls from bcove.me (fixes #1732)
'bctid' needs to be changed to '@videoPlayer', and 'bckey' to 'playerKey'.
11 years ago
Jaime Marquínez Ferrándiz b0759f0c19 [brightcove] Extract all the available formats 11 years ago
Jaime Marquínez Ferrándiz fc4a0c2aec [brightcove] Change the 'videoId' or 'videoID' field to '@videoPlayer' (fixes #1697)
It seems to be needed when using the htmlFederated page
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 f52f01b5d2 [brightcove] Don't set the extension
If the video only has the 'FLVFullLengthURL' key, it can still be an mp4 file.
11 years ago
Philipp Hagemeister 591454798d [brightcove] Raise error if playlist is empty (#1608) 11 years ago
Philipp Hagemeister 2d0efe70a6 [brightcove] Fix more broken XML (#1608) 11 years ago
Philipp Hagemeister 46e28a84ca [brightcove] Fix up some broken HTML (#1553) 11 years ago
Jaime Marquínez Ferrándiz 4de1994b6e [brightcove] Use direct url for the tests
The test_all_urls.py test failed because BrightcoveIE doesn't match them.
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 6543f0dca5 BrightcoveIE: Use parse_qs to extract the fields of the query (closes #1032)
Add a compat_urlparse to utils.
12 years ago
Philipp Hagemeister 45ff2d51d0 [brightcove] add import 12 years ago
Philipp Hagemeister 5de3ece225 [brightcove] fix on Python 2.6 12 years ago
Jaime Marquínez Ferrándiz 117adb0f0f GenericIE: detect more Brightcove videos
In some sites "class" contains more that BrightcoveExperience
12 years ago
Jaime Marquínez Ferrándiz abb285fb1b BrightcoveIE: add support for playlists 12 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.
12 years ago
Jaime Marquínez Ferrándiz fbaaad49d7 Add BrightcoveIE (closes #832)
It only accepts the urls that are use for embedding the video, it doesn't search in generic webpages to find Brightcove videos
12 years ago