Commit Graph

8518 Commits (93a63b36f1c52a9981050e393d1876d6162abb49)

Author SHA1 Message Date
Remita Amine aaf44a2f47 [uplynk] Add new extractor 8 years ago
phi 097eba019d 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.
8 years ago
Sergey M․ 5ec5461e1a
[pbs] Clarify comment on http formats 8 years ago
Sergey M․ 542130a5d9
[pbs] Fix description extraction and update tests 8 years ago
Sergey M․ 82997dad57
[franceculture] Fix extraction (Closes #10324) 8 years ago
Sergey M․ 647a7bf5e8
[pornotube] Fix extraction (Closes #10322) 8 years ago
Sergey M․ 77afa008dd
[4tube] Fix metadata extraction (Closes #10321) 8 years ago
Yen Chi Hsuan db535435b3
[bigflix] Remove an invalid test
There's no video anymore
8 years ago
Sergey M․ c2a453b461
[imgur] Fix width and height extraction (Closes #10325) 8 years ago
Sergey M․ cd29eaab95
[vbox7] Remove unused imports 8 years ago
Sergey M․ e97c55ee6a
[expotv] Improve extraction and update test 8 years ago
Sergey M․ cb55908e51
[vbox7] Fix extraction (Closes #10309) 8 years ago
Yen Chi Hsuan e581224843
[tapely] Remove extractor. It's shut down
Closes #10323
8 years ago
Remita Amine f50365e91c [pbs] add test for videos with undocumented http formats and remove unused import 8 years ago
Sergey M․ c366f8d30a
[24video] Add support for me and xxx TLDs 8 years ago
Sergey M․ 6a26c5f9d5
[muenchentv] Fix extraction (Closes #10313) 8 years ago
Sergey M․ bd6fb007de
[24video] Fix comment count extraction 8 years ago
Sergey M․ b69b2ff736
[sunporno] Add support for embed URLs 8 years ago
Sergey M․ 794e5dcd7e
[sunporno] Fix metadata extraction (Closes #10316) 8 years ago
Remita Amine f0d3669437 [hgtv] Add new extractor(closes #3999) 8 years ago
Remita Amine 3cddb8d6a7 [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
8 years ago
Sergey M․ 990d533ee4
[crunchyroll] Add support for HLS (Closes #10301) 8 years ago
Sergey M․ a3be69b7f0
[viu] Remove from extractors 8 years ago
Sergey M․ 0fd1b1624c
[goldenmoustache] Remove extractor (Closes #10298)
Now uses dailymotion
8 years ago
Sergey M․ 367976d49f
[drtuber] Improve title extraction 8 years ago
Sergey M․ 0aef0771f8
[drtuber] Make dislike count optional (Closes #10297) 8 years ago
Sergey M․ 0c070681c5
[chirbit] Fix extraction (Closes #10296) 8 years ago
Sergey M․ 30b25d382d
[francetvinfo] Relax _VALID_URL 8 years ago
Sergey M․ 7f2ed47595
[rtlnl] Relax _VALID_URL (Closes #10282) 8 years ago
Sergey M․ c3fa77bdef
[formula1] Relax _VALID_URL (Closes #10283) 8 years ago
Remita Amine 57ce8a6d08 [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)
8 years ago
Yen Chi Hsuan 69d8eeeec5
[ctsnews] Fix extraction 8 years ago
Remita Amine 20ef4123b9 [uol] remove unused import 8 years ago
Remita Amine 4e62d26aa2 [uol] Add new extractor(#4263) 8 years ago
Sergey M․ 3a380766d1
[rbmaradio] Improve, simplify and extract all formats (Closes #10242) 8 years ago
Petr Zvoníček affaea0688
[rbmaradio] Fixed extractor 8 years ago
Sergey M․ 77426a087b
[sonyliv] Improve (Closes #10258) 8 years ago
Sukhbir Singh 8991844ea2
[sonyliv] Add new extractor 8 years ago
Sergey M․ 082395d0a0
[extractor/generic] Add proper default to _search_json_ld call 8 years ago
Sergey M․ e8ed7354e6
[flipagram] Add proper default to _search_json_ld call 8 years ago
Sergey M․ 1e7f602e2a
[condenast] Make _search_json_ld call non fatal 8 years ago
Sergey M․ 522f6c066d
[bbc] Add proper default to _search_json_ld call 8 years ago
Sergey M․ 321b5e082a
[extractor/common] Respect default in _search_json_ld 8 years ago
Sergey M․ 3711fa1eb2
Revert "[flipagram] Make _search_json_ld non fatal"
This reverts commit d34995a9e3.
8 years ago
Sergey M․ 395c74615c
Revert "[extractor/generic] Make _search_json_ld non fatal"
This reverts commit 958849275f.
8 years ago
Yen Chi Hsuan 3dc240e8c6
[sohu] Update _TESTS (closes #10260) 8 years ago
Yen Chi Hsuan a41a6c5094
[chaturbate] Skip the invalid test 8 years ago
Yen Chi Hsuan d71207121d
[biqle] Skip an invalid test 8 years ago
Yen Chi Hsuan b1c6f21c74
[aparat] Fix extraction 8 years ago
Yen Chi Hsuan 412abb8760
[bilibili] Update _TESTS 8 years ago
Yen Chi Hsuan f17d5f6d14
[features.aol.com] Fix _TESTS 8 years ago
Remita Amine 6bb801cfaf [cwtv] extract http formats 8 years ago
Sergey M․ de02d1f4e9
[rozhlas] Fix regexes and improve extraction (Closes #10253) 8 years ago
Petr Zvoníček e1f93a0a76
[rozhlas] Add new extractor 8 years ago
Yen Chi Hsuan b2bd968f4b
[kuwo:singer] Fix extraction 8 years ago
Sergey M․ d92cb46305
[discoverygo] Add extractor (Closes #10245) 8 years ago
Sergey M․ d34995a9e3
[flipagram] Make _search_json_ld non fatal 8 years ago
Sergey M․ 958849275f
[extractor/generic] Make _search_json_ld non fatal 8 years ago
Sergey M․ 998f094452
[bbc] Remove proxy from test 8 years ago
Sergey M․ aaa42cf0cf
[bbc] PEP 8 8 years ago
Sergey M․ 9fb64c04cd
[bbc] Add support for morph embeds (Closes #10239) 8 years ago
Remita Amine f9622868e7 [bbc] preserve format_id backward compatibility 8 years ago
Remita Amine 37768f9242 [common] correctly lower the preference of m3u8 master manifest format 8 years ago
Sergey M․ a1aadd09a4
[tnaflixnetworkbase] Improve title extraction 8 years ago
Sergey M․ b47a75017b
[tnaflix] Fix metadata extraction (Closes #10249) 8 years ago
Remita Amine e37b54b140 [fox] fix theplatform release url query 8 years ago
Yen Chi Hsuan c1decda58c
[openload] Fix extraction (closes #9706) 8 years ago
Remita Amine ad152e2d95 [bbc] fix test 8 years ago
Remita Amine b0af12154e [bbc] reduce requests and improve format_id 8 years ago
Remita Amine d16b3c6677 [common] extract partOfTVSeries info in json-ld 8 years ago
Remita Amine c57244cdb1 [common] lower the preference of m3u8 master manifest format 8 years ago
Remita Amine a7e5f27412 [bbc] improve extraction
- extract f4m and dash formats
- improve format sorting and listing
- improve extraction of articles with `otherSettings.playlist`
8 years ago
Remita Amine 089a40955c [pokemon] improve _VALID_URL 8 years ago
Remita Amine d73ebac100 [pokemon] Add new extractor(closes #10093) 8 years ago
Remita Amine e563c0d73b [condenast] fallback to loader.js if video.js fail 8 years ago
Sergey M․ 8122e79fef
[gamekings] Remove remnants 8 years ago
Sergey M․ fe3ad1d456
[adultswim] Remove superfluous md5 from test 8 years ago
Sergey M․ 038a5e1a65
[adultswim] Add support for trailers (Closes #10235) 8 years ago
Sergey M․ 84bc23b41b
[archiveorg] PEP 8 8 years ago
Sergey M․ 46933a15d6
[extractor/common] Support root JSON-LD lists (Closes #10203) 8 years ago
Sergey M․ 3859ebeee6
[tvplay] Capture and output native error message 8 years ago
Remita Amine d50aca41f8 [archiveorg] improve format extraction(closes #10219) 8 years ago
Remita Amine 0ca057b965 [jwplatform] add support for playlist extraction and relative urls and improve audio detection 8 years ago
Sergey M․ 5ca968d0a6
[tvplay] Extract series metadata 8 years ago
Sergey M․ f0d31c624e
[tvplay] Add support for subtitles (Closes #10194) 8 years ago
Remita Amine 08c655906c [5min] fix _VALID_URL(closes #10228) 8 years ago
Remita Amine 5a993e1692 [natgeo] fix tests(closes #10229) 8 years ago
Remita Amine a7d2953073 [extractors] add tvp:embed import 8 years ago
Remita Amine fdd0b8f8e0 [tvp] extract video id from the webpage(fixes #7799) 8 years ago
Remita Amine f65dc41b72 [naver] extract upload date 8 years ago
Yen Chi Hsuan 962250f7ea
[cbslocal] Fix timestamp parsing (closes #10213) 8 years ago
Remita Amine b02b960c6b [naver] improve extraction(closes #8096) 8 years ago
Remita Amine 4f427c4be8 [condenast] improve extraction 8 years ago
Sergey M․ 8a00ea567b
[natgeo:episodeguide] Do not shadow url from outer scope 8 years ago
Remita Amine 8895be01fc [5min] fix _VALID_URL 8 years ago
Remita Amine 52e7fcfeb7 [engadget] Relax _VALID_URL 8 years ago
Remita Amine 2396062c74 [5min] delegate extraction to AolIE
recently the 5min SenseHandler request return
HTTP Error 503: Service Unavailable error
8 years ago
Remita Amine 14704aeff6 [kaltura] remove debugging line 8 years ago
Remita Amine 3c2c3af059 [extractors] change imports for national geographic extractors 8 years ago
Remita Amine 1891ea2d76 [nationalgeographic] Add support for National Geographic Episode Guide 8 years ago