John Hawkinson
ca67fc4341
[brightcove:new] don't strip ref: from video_id
...
Partial revert of 49571c1c2fc0872d8e8cf341cdeacd57d8885236
which was based on a misreading of the regexp extractor.
2017-03-18 11:46:16 -04:00
John Hawkinson
34da9a4df6
Merge remote-tracking branch 'upstream/master' into brightcove-12005
...
Merge additional tests in generic.py
2017-03-07 11:15:41 -05:00
Sergey M․
b68a812ea8
[extractor/generic] Add test for brigthcove UUID-like videoPlayer
2017-03-07 23:00:21 +07:00
Sergey M․
2e76bdc850
[brightcove:legacy] Relax videoPlayer validation check ( closes #12381 )
2017-03-07 22:59:33 +07:00
John Hawkinson
c8620243d5
[BrightcoveLegacy] mark test_BrightcoveLegacy_4 as gone
...
Black screen in browsers.
youtube-dl reports:
[brightcove:legacy] ref:event-stream-356: Downloading webpage
ERROR: brightcove said: This player is not enabled for access without key.
2017-03-07 08:32:56 -05:00
John Hawkinson
f6f7ec6721
[Generic] indent fix on Test_Generic26
2017-03-07 07:53:12 -05:00
John Hawkinson
63108b8835
[brightcove:new] flake8 for PEP 8
...
I really reget not being able to use this compact syntax, as well as to align
with spaces:
if not account_id: account_id = attrs.get('data-account')
if not player_id: player_id = attrs.get('data-player')
if not embed: embed = attrs.get('data-embed')
but it really upsets flake8:
brightcove.py:519:30: E701 multiple statements on one line (colon)
brightcove.py:519:42: E221 multiple spaces before operator
brightcove.py:520:29: E701 multiple statements on one line (colon)
brightcove.py:520:30: E241 multiple spaces after ':'
brightcove.py:520:41: E221 multiple spaces before operator
brightcove.py:521:25: E701 multiple statements on one line (colon)
brightcove.py:521:26: E241 multiple spaces after ':'
brightcove.py:521:37: E221 multiple spaces before operator
2017-03-07 07:52:08 -05:00
Yen Chi Hsuan
fe646a2f10
[twitch] PEP8
2017-03-07 15:34:06 +08:00
John Hawkinson
99474c6510
[brightcove:new] can't .rpartition video_id if it's None
2017-03-07 01:50:18 -05:00
John Hawkinson
15859c6845
[Brightcove:new] reorder doc references in order of HTML page
...
Otherwise it is very confusing to read them out of order.
2017-03-07 01:06:19 -05:00
John Hawkinson
99a9ff2423
[brightcove:new] ref[3] was deadlink
2017-03-07 01:02:02 -05:00
John Hawkinson
49571c1c2f
[brightcove:new] Combine <video> tag searches
...
Per @yan12125.
Instead of searching for <video> followed by <script>, now
search for <video> optionally followed by <script>. If we
find <script>, use it. Otherwise, extract_attributes() from the video
tag and use those.
Move stripping the 'ref': prefix of data-video-id="ref:12345" out of
regexp into code, since we now use extract_attributes().
2017-03-07 01:00:42 -05:00
John Hawkinson
68ba9882a3
[Generic] missing hash for brightcove programme-tv test
2017-03-06 22:45:43 -05:00
John Hawkinson
976a38db62
[generic] Treat both Brightcove's with similar verbosity
...
And distinguish then with
(legacy)
and
(new)
in the output.
2017-03-06 22:43:00 -05:00
John Hawkinson
50c71279c3
[Generic] Test for existing [Brightcove:new]/[2] that has no test
2017-03-06 22:41:44 -05:00
Sergey M․
9df53ea36e
Credit @puxlit for twitch 2fa ( #11974 )
2017-03-07 04:05:47 +07:00
Sergey M․
d7d7f84c95
Credit @benages for redbull.tv ( #11948 )
2017-03-07 04:05:47 +07:00
Sergey M․
dccd0ab35d
release 2017.03.07
2017.03.07
2017-03-07 03:59:22 +07:00
Sergey M․
80146dcc6c
[ChangeLog] Actualize
2017-03-07 03:57:54 +07:00
Sergey M․
e30ccf7047
[soundcloud] Update client id ( closes #12376 )
2017-03-06 23:05:38 +07:00
Yen Chi Hsuan
54a3a8827b
[__init__] Metadata should be added after conversion
...
Fixes #5594
2017-03-06 18:09:12 +08:00
Yen Chi Hsuan
92cb5763f4
[ChangeLog] Update after #12357
2017-03-06 18:04:19 +08:00
denneboomyo
da92da4b88
Openload fix extraction ( #12357 )
...
* Fix extraction
2017-03-06 18:00:17 +08:00
Sergey M․
1664702626
release 2017.03.06
2017.03.06
2017-03-06 04:04:39 +07:00
Sergey M․
3f116b189b
[ChangeLog] Actualize
2017-03-06 04:01:21 +07:00
Sergey M․
4b5de77bdb
[utils] Process bytestrings in urljoin ( closes #12369 )
2017-03-06 03:57:46 +07:00
Sergey M․
96182695e4
[drtv] Add geo countries to GeoRestrictedError
2017-03-06 03:23:42 +07:00
Sergey M․
fc11ad3833
[drtv:live] Bypass geo restriction
2017-03-06 03:23:42 +07:00
Yen Chi Hsuan
d2b64e04b4
[addanime] Skip an invalid test
2017-03-06 00:35:04 +08:00
Sergey M․
5dd376345b
[tunepk] Add extractor ( closes #12197 , closes #12243 )
2017-03-05 23:31:38 +07:00
Sergey M․
1a2192cb90
[extractor/common] Pass arguments to _parse_jwplayer_formats and PEP8
2017-03-05 23:29:17 +07:00
Sergey M․
0236cd0dfd
[extractor/common] Improve height extraction and extract bitrate
2017-03-05 23:25:03 +07:00
Sergey M․
ed0cf9b383
[extractor/common] Move jwplayer formats extraction in separate method
2017-03-05 23:22:27 +07:00
Sergey M․
a50862b735
[downloader/external] Add missing import and PEP8
2017-03-05 10:24:29 +07:00
John Hawkinson
6d0fe752bf
[external:ffmpeg] In test harness, limit to 10k download size
...
Otherwise, if you screw up a playlist test by including a playlist
dictionary key, you'll be there for eons while it downloads all the
files before erroring out.
2017-03-05 11:19:44 +08:00
Sergey M․
afa4597618
release 2017.03.05
2017.03.05
2017-03-05 02:23:08 +07:00
Sergey M․
75027364ba
[ChangeLog] Actualize
2017-03-05 02:22:02 +07:00
Sergey M․
5316566edc
[twitch] Use better naming and simplify ( closes #11974 )
2017-03-05 02:06:33 +07:00
Xiao Di Guan
c64c03be35
[twitch] Add basic support for two-factor authentication
2017-03-05 01:06:27 +07:00
Sergey M․
bcefc59279
Credit @vierbergenlars for vijf.be ( #12304 )
2017-03-05 00:03:59 +07:00
Sergey M․
6f211dc936
Credit @obilodeau for vrak ( #11452 )
2017-03-05 00:03:59 +07:00
Sergey M․
f24c1e5584
Credit @TobiX for #9725
2017-03-05 00:03:59 +07:00
Sergey M․
466274fe9a
Credit @p2004a for vodpl ( #12122 )
2017-03-05 00:03:59 +07:00
Sergey M․
30f8f142d4
Credit @ThomasChr for #12015 and #12245
2017-03-05 00:03:59 +07:00
Lars Vierbergen
a3ba8a7acf
[vier] Add support for vijf.be
...
vier.be and vijf.be run on the same CMS and are property of the same company,
so the same extractor can be used for both of them.
2017-03-05 00:47:19 +08:00
Sergey M․
054a587de8
[redbulltv] Improve extraction ( closes #11948 , closes #3919 )
2017-03-04 23:28:21 +07:00
Juanjo Benages
64b7ccef3e
[redbulltv] Add extractor
2017-03-04 23:26:15 +07:00
Yen Chi Hsuan
6f4e4132d8
[douyutv] Switch to the PC API to escape the 5-min limitation
...
Thanks @spacemeowx2 for the algo.
Ref: https://gist.github.com/spacemeowx2/629b1d131bd7e240a7d28742048e80fc
Closes #12316
2017-03-04 23:23:18 +08:00
Sergey M․
eb3079b6ce
[generic] Add support for rutube embeds
2017-03-04 00:46:33 +07:00
Sergey M․
bc82f22879
[rutube] Relax _VALID_URL
2017-03-04 00:42:51 +07:00