fnord
cb23bcba29
BBCIE: Fix missing .mp4 formats on news sites
...
Prior to merge BBCNewsIE from pr #6026 was rewritten into BBCIE in 9afa177 . Support was added for non-news
sites (/travel, /sports), however support for the news mediaselector was removed to support these sites.
This removed support for .mp4.
pr #6026 ( news site, news mediaseletor : http://open.live.bbc.co.uk/mediaselector/4/mtis/stream/ )
format code extension resolution note
journalism_nonuk_stream_h264_flv_200_akamai flv 400x224 h264@ 176k, 1001.77KiB
journalism_nonuk_stream_h264_flv_400_akamai flv 400x224 h264@ 512k, 2.85MiB
journalism_nonuk_stream_h264_flv_med_akamai flv 640x360 h264@ 800k, 4.43MiB
journalism_nonuk_stream_h264_flv_hi_akamai flv 688x384 h264@1500k, 8.34MiB
journalism_world_stream_h264_http_200_sis_news_http mp4 400x224 h264@ 176k, 1001.77KiB
journalism_world_stream_h264_http_400_sis_news_http mp4 400x224 h264@ 512k, 2.85MiB
journalism_world_stream_h264_http_hi_sis_news_http mp4 688x384 h264@1500k, 8.34MiB (best)
# 9afa177 ( same url, non-news mediaselector: http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/journalism-pc/vpid/ )
format code extension resolution note
journalism_nonuk_stream_h264_flv_lo_akamai flv 384x216 h264@ 496k, 2.76MiB
journalism_nonuk_stream_h264_flv_med_akamai flv 640x360 h264@ 800k, 4.43MiB
journalism_nonuk_stream_h264_flv_hi_akamai flv 688x384 h264@1500k, 8.34MiB (best)
This change corrects the above, by trying /mediaselector/5 if /mediaselector/4 fails.
2015-07-27 04:24:04 -05:00
fnord and Jaime Marquínez Ferrándiz
53b8247cb5
NationalGeographic._VALID_URL: work site-wide
...
Closes #6343 .
2015-07-23 12:21:41 +02:00
fnord
9e7e0dffd5
Actually add the extractor
2015-07-21 16:56:35 -05:00
fnord
c3dea3f878
Twittercard: support vmapurl method
2015-07-21 16:45:36 -05:00
fnord
f57f84f606
Twitter: get and describe video from status urls
2015-07-21 16:38:40 -05:00
fnord
0eacd2aaae
less clunky if statement
2015-07-19 13:59:12 -05:00
fnord
a5dd9a0c5d
pbs: fix vague 'Full Episode' titles; prepend name of show
...
Many videos are given the title 'Full Episode' or 'Episode x', etc;
in the info json 'title' is the episode title (for oneshots this is
'Full Episode') while the program name is 'program':{'title'. This
changes the title from '(episode title)' to
'(program name) - (episode title)'
The following urls demonstrate useless titles
http://video.pbs.org/video/2365367186/
http://video.pbs.org/video/2365519307/
http://video.pbs.org/video/2365527039/
http://video.pbs.org/video/2365530605/
Before change
Full Episode
Episode 5 | Preview
Season 3 | Episode 4 Preview
July 17, 2015
After change
To Catch A Comet - Full Episode
The Crimson Field - Episode 5 | Preview
Last Tango in Halifax - Season 3 | Episode 4 Preview
Charlie Rose The Week - July 17, 2015
2015-07-19 11:47:58 -05:00
fnord
7a4a945f13
fix/support news.vice.com
2015-07-19 11:33:02 -05:00
fnord
4a63291144
Add tests for compat_urllib_parse_unquote
2015-07-17 09:46:08 -05:00
fnord
593b77064c
Don't forget trailing '%'
2015-07-17 09:45:49 -05:00
fnord
9fefc88656
fix TestCompat test_all_present
2015-07-17 07:24:07 -05:00
fnord
eb08081330
democracynow: correct syntax
2015-07-17 02:57:08 -05:00
fnord
a3bfddfa5e
bbc.py: correct syntax
2015-07-17 02:47:02 -05:00
fnord
36da48798a
handle titles and captions set to ''
2015-07-17 02:27:50 -05:00
fnord
a0f28f90fa
remove kebab
2015-07-17 01:50:43 -05:00
fnord
851229a01f
remove debugprint
2015-07-17 01:49:55 -05:00
fnord
c9c854cea7
replace old compat_urllib_parse_unquote with backport from python3's function
...
* required unquote_to_bytes function ported as well
(uses .decode('hex') instead of dynamically populated _hextobyte global)
* required implicit conversion to bytes and/or unicode in places due to
differing type assumptions in p3
2015-07-17 01:31:29 -05:00
fnord
45eedbe58c
Generic: use compat_urllib_parse_unquote to prevent utf8 mangling
...
of the entire page in python 2.
-requires- fixed compat_urllib_parse_unquote
example - the following will save with a mangled playlist title,
instead of the kanji for 'tsunami'. This affects all utf8encoded
urls as well
youtube-dl -f18 -o '%(playlist_title)s-%(title)s.%(ext)s' \
https://gist.githubusercontent.com/atomicdryad/fcb97465e6060fc519e1/raw/61c14c1e3a4985471dcf56c281d24d7e781a4e0e/tsunami.html
2015-07-15 15:30:47 -05:00
fnord
e37c932fca
compat_urllib_parse_unquote: crash fix: only decode valid hex
...
on python 2 the following has a { "crash_rate": "100%" } of the time
as it tries to parse '" ' as hex.
2015-07-15 15:28:50 -05:00
fnord
f870544302
Add support for democracynow.org
...
Supports downloading clips or entire shows. Subtitle support
2015-07-13 07:41:38 -05:00
fnord
aa5740fb61
Merge remote-tracking branch 'origin/master' into pr-bbcnews
2015-06-25 00:34:46 -05:00
fnord
da92eeae42
Fix tests, description formatting
2015-06-25 00:34:26 -05:00
fnord
a9dcf4a860
Prefer externalId over non-mediaserver-specific hashkey for video id.
2015-06-23 01:08:07 -05:00
fnord
2a282a3b5f
Unbreak breakage that was broken to test breakage
2015-06-20 11:11:41 -05:00
fnord
7bb23aeca4
rename bbccouk.py -> bbc.py
2015-06-20 11:08:13 -05:00
fnord
de939d89eb
Support BBC news in other languages, non-mediaselector videos
2015-06-20 11:04:46 -05:00
fnord
77c975f536
typofix
2015-06-20 08:28:14 -05:00
fnord
75ab0ebcf5
no .get('..',None)
2015-06-20 08:24:02 -05:00
fnord
10273d6e08
toss new stuff into old file
2015-06-20 08:22:13 -05:00
fnord
d5552a3477
bbcnews: Switch to parse_duration, revert change to docs/supportedsites.md
2015-06-19 06:25:50 -05:00
fnord
a8b081a052
BBCNewsIE: eliminate redundant function.
...
BBCCoUkIE._download_media_selector: use class variable instead of
hardcoded string for mediaselector_url template.
2015-06-19 01:52:25 -05:00
fnord
9e96dc8b35
Support BBC News (bbc.com/news)
2015-06-19 01:39:30 -05:00
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
2015-06-13 06:20:30 -05:00