Yen Chi Hsuan [Sat, 13 Aug 2016 18:30:50 +0000 (02:30 +0800)]
Merge pull request #10342 from muphil/patch-1
[xiami] bug fix for extractor xiami.py
phi [Sat, 13 Aug 2016 18:18:59 +0000 (02:18 +0800)]
bug fix for extractor xiami.py
Before applying this patch, when downloading resources from xiami.com, it crashes with these:
Traceback (most recent call last):
File "/home/phi/.local/bin/youtube-dl", line 11, in <module>
sys.exit(main())
File "/home/phi/.local/lib/python3.5/site-packages/youtube_dl/__init__.py", line 433, in main
_real_main(argv)
File "/home/phi/.local/lib/python3.5/site-packages/youtube_dl/__init__.py", line 423, in _real_main
retcode = ydl.download(all_urls)
File "/home/phi/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 1786, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/home/phi/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 691, in extract_info
ie_result = ie.extract(url)
File "/home/phi/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 347, in extract
return self._real_extract(url)
File "/home/phi/.local/lib/python3.5/site-packages/youtube_dl/extractor/xiami.py", line 116, in _real_extract
return self._extract_tracks(self._match_id(url))[0]
File "/home/phi/.local/lib/python3.5/site-packages/youtube_dl/extractor/xiami.py", line 43, in _extract_tracks
'%s/%s%s' % (self._API_BASE_URL, item_id, '/type/%s' % typ if typ else ''), item_id)
File "/home/phi/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 562, in _download_json
json_string, video_id, transform_source=transform_source, fatal=fatal)
File "/home/phi/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 568, in _parse_json
return json.loads(json_string)
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'NoneType'
This patch solves exactly this problem.
Sergey M․ [Sat, 13 Aug 2016 16:17:11 +0000 (23:17 +0700)]
release 2016.08.13
Sergey M․ [Sat, 13 Aug 2016 16:01:35 +0000 (23:01 +0700)]
[ChangeLog] Actualize
Sergey M․ [Sat, 13 Aug 2016 15:50:18 +0000 (22:50 +0700)]
[pbs] Clarify comment on http formats
Sergey M․ [Sat, 13 Aug 2016 14:59:29 +0000 (21:59 +0700)]
[pbs] Fix description extraction and update tests
Sergey M․ [Sat, 13 Aug 2016 14:00:34 +0000 (21:00 +0700)]
[franceculture] Fix extraction (Closes #10324)
Sergey M․ [Sat, 13 Aug 2016 13:49:16 +0000 (20:49 +0700)]
[pornotube] Fix extraction (Closes #10322)
Sergey M․ [Sat, 13 Aug 2016 12:55:09 +0000 (19:55 +0700)]
[4tube] Fix metadata extraction (Closes #10321)
Yen Chi Hsuan [Sat, 13 Aug 2016 10:02:11 +0000 (18:02 +0800)]
[bigflix] Remove an invalid test
There's no video anymore
Sergey M․ [Sat, 13 Aug 2016 09:46:07 +0000 (16:46 +0700)]
[imgur] Fix width and height extraction (Closes #10325)
Sergey M․ [Sat, 13 Aug 2016 09:45:34 +0000 (16:45 +0700)]
[vbox7] Remove unused imports
Yen Chi Hsuan [Sat, 13 Aug 2016 09:36:14 +0000 (17:36 +0800)]
[test_verbose_output] Fix tests under Python 3
Sergey M․ [Sat, 13 Aug 2016 09:29:05 +0000 (16:29 +0700)]
[expotv] Improve extraction and update test
Remita Amine [Sat, 13 Aug 2016 09:26:02 +0000 (10:26 +0100)]
[downloader/external:curl] Clarify why CurlFD should not capture stderr
Remita Amine [Sat, 13 Aug 2016 08:53:46 +0000 (09:53 +0100)]
[test_utils] add test for option with not str value
Sergey M․ [Sat, 13 Aug 2016 08:47:20 +0000 (15:47 +0700)]
[vbox7] Fix extraction (Closes #10309)
Yen Chi Hsuan [Sat, 13 Aug 2016 08:32:07 +0000 (16:32 +0800)]
[tapely] Remove extractor. It's shut down
Closes #10323
Remita Amine [Sat, 13 Aug 2016 08:08:57 +0000 (09:08 +0100)]
[pbs] add test for videos with undocumented http formats and remove unused import
Sergey M․ [Sat, 13 Aug 2016 07:47:51 +0000 (14:47 +0700)]
[24video] Add support for me and xxx TLDs
Sergey M․ [Sat, 13 Aug 2016 07:28:44 +0000 (14:28 +0700)]
[muenchentv] Fix extraction (Closes #10313)
Sergey M․ [Sat, 13 Aug 2016 07:22:47 +0000 (14:22 +0700)]
[24video] Fix comment count extraction
Sergey M․ [Sat, 13 Aug 2016 07:13:49 +0000 (14:13 +0700)]
[sunporno] Add support for embed URLs
Sergey M․ [Sat, 13 Aug 2016 07:09:35 +0000 (14:09 +0700)]
[sunporno] Fix metadata extraction (Closes #10316)
Remita Amine [Fri, 12 Aug 2016 17:05:49 +0000 (18:05 +0100)]
[hgtv] Add new extractor(closes #3999)
Remita Amine [Fri, 12 Aug 2016 11:30:02 +0000 (12:30 +0100)]
[external/curl] respect more downloader options and display progress
Remita Amine [Fri, 12 Aug 2016 07:38:06 +0000 (08:38 +0100)]
[pbs] check all http formats and remove unnecessary request
- some of the quality that not reported in the documentation
are available(4500k, 6500k)
- the videoInfo request doesn't work for a long time
Sergey M․ [Thu, 11 Aug 2016 17:56:16 +0000 (00:56 +0700)]
[crunchyroll] Add support for HLS (Closes #10301)
Sergey M․ [Thu, 11 Aug 2016 17:22:22 +0000 (00:22 +0700)]
release 2016.08.12
Sergey M․ [Thu, 11 Aug 2016 17:18:28 +0000 (00:18 +0700)]
[ChangeLog] Actualize
Sergey M․ [Thu, 11 Aug 2016 17:14:51 +0000 (00:14 +0700)]
[viu] Remove from extractors
Sergey M․ [Thu, 11 Aug 2016 16:52:17 +0000 (23:52 +0700)]
[goldenmoustache] Remove extractor (Closes #10298)
Now uses dailymotion
Sergey M․ [Thu, 11 Aug 2016 16:47:52 +0000 (23:47 +0700)]
[drtuber] Improve title extraction
Sergey M․ [Thu, 11 Aug 2016 16:47:27 +0000 (23:47 +0700)]
[drtuber] Make dislike count optional (Closes #10297)
Sergey M․ [Thu, 11 Aug 2016 16:37:56 +0000 (23:37 +0700)]
[chirbit] Fix extraction (Closes #10296)
Sergey M․ [Thu, 11 Aug 2016 14:42:55 +0000 (21:42 +0700)]
[francetvinfo] Relax _VALID_URL
Yen Chi Hsuan [Thu, 11 Aug 2016 11:13:41 +0000 (19:13 +0800)]
[ChangeLog] Add change log for #10269
[skip ci]
Yen Chi Hsuan [Thu, 11 Aug 2016 11:09:18 +0000 (19:09 +0800)]
Merge branch 'lkho-pr/#10268'
Yen Chi Hsuan [Thu, 11 Aug 2016 11:04:23 +0000 (19:04 +0800)]
[YoutubeDL] Disable newline conversion when writing subtitles
By default io.open() convert all '\n' occurrences to '\r\n' when writing
files. If the content already contains '\r\n', it will be converted to
'\r\r\n', breaking some video players.
Yen Chi Hsuan [Thu, 11 Aug 2016 11:03:08 +0000 (19:03 +0800)]
Merge branch 'pr/#10268' of https://github.com/lkho/youtube-dl into lkho-pr/#10268
lkho [Tue, 9 Aug 2016 07:25:23 +0000 (15:25 +0800)]
Preserve line endings for downloaded subtitle files
Sergey M․ [Wed, 10 Aug 2016 14:07:43 +0000 (21:07 +0700)]
[rtlnl] Relax _VALID_URL (Closes #10282)
Sergey M․ [Wed, 10 Aug 2016 14:00:40 +0000 (21:00 +0700)]
[formula1] Relax _VALID_URL (Closes #10283)
Remita Amine [Wed, 10 Aug 2016 13:17:22 +0000 (14:17 +0100)]
[wat] improve extraction(#10281)
add alternative method to extract http formats
works even if the video is geo-restricted or removed
from public access(most of the cases)
Yen Chi Hsuan [Wed, 10 Aug 2016 03:38:19 +0000 (11:38 +0800)]
[ctsnews] Fix extraction
Yen Chi Hsuan [Wed, 10 Aug 2016 03:36:49 +0000 (11:36 +0800)]
[utils] Recognize more formats in unified_timestamp
Used in CtsNews
Sergey M․ [Tue, 9 Aug 2016 17:20:44 +0000 (00:20 +0700)]
release 2016.08.10
Sergey M․ [Tue, 9 Aug 2016 17:18:28 +0000 (00:18 +0700)]
[ChangeLog] Actualize
Sergey M․ [Tue, 9 Aug 2016 15:24:58 +0000 (22:24 +0700)]
[devscripts/prepare_manpage] Fix description strings starting with dash (Closes #10273)
Remita Amine [Tue, 9 Aug 2016 14:13:15 +0000 (15:13 +0100)]
[uol] remove unused import
Remita Amine [Tue, 9 Aug 2016 14:09:08 +0000 (15:09 +0100)]
[uol] Add new extractor(#4263)
Sergey M․ [Mon, 8 Aug 2016 21:04:45 +0000 (04:04 +0700)]
Credit @singh-pratyush96 for #10223
Sergey M․ [Mon, 8 Aug 2016 21:03:52 +0000 (04:03 +0700)]
Credit @zvonicek for #10242 and #10253
Sergey M․ [Mon, 8 Aug 2016 21:01:05 +0000 (04:01 +0700)]
[metadatafromtitle] Remove unused exception class
nyorain [Fri, 5 Aug 2016 23:21:39 +0000 (01:21 +0200)]
Make --metadata-from-title non fatal
Output a warning if the metadata can't be parsed from the title (and don't write any metadata) instead of raising a critical error.
Sergey M․ [Mon, 8 Aug 2016 20:47:56 +0000 (03:47 +0700)]
Add more checks for --min/max-sleep-interval arguments and use more idiomatic naming
Sergey M․ [Mon, 8 Aug 2016 20:46:52 +0000 (03:46 +0700)]
Fix --min/max-sleep-interval wording
singh-pratyush96 [Thu, 4 Aug 2016 10:17:22 +0000 (15:47 +0530)]
Add --max-sleep-interval (Closes #9930)
Sergey M․ [Mon, 8 Aug 2016 19:46:29 +0000 (02:46 +0700)]
[rbmaradio] Improve, simplify and extract all formats (Closes #10242)
Petr Zvoníček [Sat, 6 Aug 2016 13:26:48 +0000 (15:26 +0200)]
[rbmaradio] Fixed extractor
Sergey M․ [Mon, 8 Aug 2016 19:16:28 +0000 (02:16 +0700)]
[sonyliv] Improve (Closes #10258)
Sukhbir Singh [Sun, 7 Aug 2016 23:11:00 +0000 (19:11 -0400)]
[sonyliv] Add new extractor
Sergey M․ [Mon, 8 Aug 2016 15:48:33 +0000 (22:48 +0700)]
[extractor/generic] Add proper default to _search_json_ld call
Sergey M․ [Mon, 8 Aug 2016 15:46:19 +0000 (22:46 +0700)]
[flipagram] Add proper default to _search_json_ld call
Sergey M․ [Mon, 8 Aug 2016 15:45:49 +0000 (22:45 +0700)]
[condenast] Make _search_json_ld call non fatal
Sergey M․ [Mon, 8 Aug 2016 15:44:36 +0000 (22:44 +0700)]
[bbc] Add proper default to _search_json_ld call
Sergey M․ [Mon, 8 Aug 2016 15:36:18 +0000 (22:36 +0700)]
[extractor/common] Respect default in _search_json_ld
Sergey M․ [Mon, 8 Aug 2016 14:49:45 +0000 (21:49 +0700)]
Revert "[flipagram] Make _search_json_ld non fatal"
This reverts commit
d34995a9e3f596c4dd80178d99f7bd8dbc748e2b.
Sergey M․ [Mon, 8 Aug 2016 14:49:27 +0000 (21:49 +0700)]
Revert "[extractor/generic] Make _search_json_ld non fatal"
This reverts commit
958849275f1c6072c712e8d611294a762fadc7f0.
Yen Chi Hsuan [Mon, 8 Aug 2016 10:48:21 +0000 (18:48 +0800)]
[sohu] Update _TESTS (closes #10260)
Yen Chi Hsuan [Mon, 8 Aug 2016 05:06:02 +0000 (13:06 +0800)]
[chaturbate] Skip the invalid test
Yen Chi Hsuan [Mon, 8 Aug 2016 04:59:55 +0000 (12:59 +0800)]
[biqle] Skip an invalid test
Yen Chi Hsuan [Mon, 8 Aug 2016 04:59:07 +0000 (12:59 +0800)]
[aparat] Fix extraction
Yen Chi Hsuan [Mon, 8 Aug 2016 04:57:17 +0000 (12:57 +0800)]
[bilibili] Update _TESTS
Yen Chi Hsuan [Sun, 7 Aug 2016 15:57:19 +0000 (23:57 +0800)]
[features.aol.com] Fix _TESTS
Remita Amine [Sun, 7 Aug 2016 21:56:04 +0000 (22:56 +0100)]
[cwtv] extract http formats
Sergey M․ [Sun, 7 Aug 2016 21:58:02 +0000 (04:58 +0700)]
[rozhlas] Fix regexes and improve extraction (Closes #10253)
Petr Zvoníček [Sun, 7 Aug 2016 15:35:54 +0000 (17:35 +0200)]
[rozhlas] Add new extractor
Charlie Le [Sun, 7 Aug 2016 20:38:10 +0000 (13:38 -0700)]
[README.md] Update Options Link
The link references a bad anchor. The updated link now references the correct anchor.
Yen Chi Hsuan [Sun, 7 Aug 2016 14:59:34 +0000 (22:59 +0800)]
[kuwo:singer] Fix extraction
Sergey M․ [Sun, 7 Aug 2016 14:12:41 +0000 (21:12 +0700)]
release 2016.08.07
Sergey M․ [Sun, 7 Aug 2016 14:10:48 +0000 (21:10 +0700)]
[ChangeLog] Actualize
Sergey M․ [Sun, 7 Aug 2016 13:57:05 +0000 (20:57 +0700)]
[discoverygo] Add extractor (Closes #10245)
Sergey M․ [Sun, 7 Aug 2016 13:45:18 +0000 (20:45 +0700)]
[utils] Add support TV Parental Guidelines ratings in parse_age_limit
Sergey M․ [Sun, 7 Aug 2016 12:06:55 +0000 (19:06 +0700)]
[flipagram] Make _search_json_ld non fatal
Sergey M․ [Sun, 7 Aug 2016 12:04:22 +0000 (19:04 +0700)]
[extractor/generic] Make _search_json_ld non fatal
Sergey M․ [Sun, 7 Aug 2016 11:13:05 +0000 (18:13 +0700)]
[bbc] Remove proxy from test
Sergey M․ [Sun, 7 Aug 2016 11:05:13 +0000 (18:05 +0700)]
[bbc] PEP 8
Sergey M․ [Sun, 7 Aug 2016 11:01:50 +0000 (18:01 +0700)]
[bbc] Add support for morph embeds (Closes #10239)
Remita Amine [Sun, 7 Aug 2016 10:14:15 +0000 (11:14 +0100)]
[bbc] preserve format_id backward compatibility
Remita Amine [Sun, 7 Aug 2016 09:58:11 +0000 (10:58 +0100)]
[common] correctly lower the preference of m3u8 master manifest format
Sergey M․ [Sun, 7 Aug 2016 08:59:05 +0000 (15:59 +0700)]
[tnaflixnetworkbase] Improve title extraction
Sergey M․ [Sun, 7 Aug 2016 08:57:42 +0000 (15:57 +0700)]
[tnaflix] Fix metadata extraction (Closes #10249)
Remita Amine [Sat, 6 Aug 2016 19:53:13 +0000 (20:53 +0100)]
[fox] fix theplatform release url query
Yen Chi Hsuan [Sat, 6 Aug 2016 18:44:15 +0000 (02:44 +0800)]
[openload] Fix extraction (closes #9706)
Yen Chi Hsuan [Sat, 6 Aug 2016 18:42:58 +0000 (02:42 +0800)]
[utils] Add decode_png for openload (#9706)
Remita Amine [Sat, 6 Aug 2016 18:36:12 +0000 (19:36 +0100)]
[bbc] fix test
Remita Amine [Sat, 6 Aug 2016 18:24:59 +0000 (19:24 +0100)]
[bbc] reduce requests and improve format_id
Remita Amine [Sat, 6 Aug 2016 17:58:38 +0000 (18:58 +0100)]
[common] extract partOfTVSeries info in json-ld
Remita Amine [Sat, 6 Aug 2016 17:55:05 +0000 (18:55 +0100)]
[common] lower the preference of m3u8 master manifest format