Yen Chi Hsuan
680efb6723
Merge pull request #8497 from jaimeMF/lazy-load
...
Add experimenta lazy loading of info extractors
9 years ago
Jaime Marquínez Ferrándiz
5a9858bfa9
setup.py: add command for building the lazy_extractors module
9 years ago
Jaime Marquínez Ferrándiz
8a5dc1c1e1
lazy extractors: Initialize the real info extractor
...
According to the docs '__init__' is only called automatically if '__new__' returns an instance of the original class.
9 years ago
Jaime Marquínez Ferrándiz
e0986e31cf
lazy extractors: Output if it's enabled in the verbose log
9 years ago
Jaime Marquínez Ferrándiz
6b97ca96fc
lazy extractors: Style fixes
...
* Sort extractors alphabetically
* Add newlines when needed (youtube_dl/extractors/lazy_extractors.py pass the flake8 test now)
9 years ago
Jaime Marquínez Ferrándiz
c1ce6acdd7
lazy extractors: Fix building with python2.6
9 years ago
Jaime Marquínez Ferrándiz
0d778b1db9
lazy extractors: specify the encoding
...
When building with python3 the unicode characters are not escaped, python2 needs to know the encoding.
9 years ago
Jaime Marquínez Ferrándiz
779822d945
Add experimental support for lazy loading the info extractors
...
'make lazy-extractors' creates the youtube_dl/extractor/lazy_extractors.py (imported by youtube_dl/extractor/__init__.py), which contains simplified classes that only have the 'suitable' class method and that load the appropiate class with the '__new__' method when a instance is created.
9 years ago
Jaime Marquínez Ferrándiz
1b3d5e05a8
Move the extreactors import to youtube_dl/extractor/extractors.py
9 years ago
Jaime Marquínez Ferrándiz
e52d7f85f2
Delay initialization of InfoExtractors until they are needed
9 years ago
Sergey M․
568d2f78d6
[tnaflix] Fix metadata extraction
9 years ago
Sergey M․
2f2fcf1a33
[tnaflix] Fix extraction ( Closes #9074 )
9 years ago
Sergey M․
bacec0397f
[extractor/common] Relax _hidden_inputs
9 years ago
Sergey M․
3c6c7e7d7e
[gdcvault] Fix extraction ( Closes #9107 , closes #9114 )
9 years ago
Sergey M․
fb38aa8b53
[extractor/common] Support arbitrary format strings for template based identifiers in mpd manifests ( Closes #9119 , closes #9120 )
9 years ago
Sergey M․
18da24634c
[democracynow] Improve extraction
9 years ago
Sergey M․
a134426d61
[democracynow] Fix tests
9 years ago
Sergey M․
a64c0c9b06
[democracynow] Make description optional ( Closes #9115 )
9 years ago
Sergey M․
56019444cb
[novamov] Improve _VALID_URL template ( Closes #9116 )
9 years ago
remitamine
a1ff3cd5f9
[acast] fix channel extraction( closes #9117 )
9 years ago
remitamine
9a32e80477
[acast] fix extraction( #9117 )
9 years ago
Sergey M․
536a55dabd
[YoutubeDL] Sanitize single thumbnail URL
9 years ago
Sergey M․
ed6fb8b804
[vrt] Add support for direct hls playlists and YouTube ( Closes #9108 )
9 years ago
Sergey M․
3afef2e3fc
[beeg] Improve extraction
9 years ago
Sergey M․
e90d175436
[yandexmusic] Extract music album metafields ( Closes #7354 )
9 years ago
Sergey M․
7a93ab5f3f
[extractor/common] Introduce music album metafields
9 years ago
Philipp Hagemeister
c41cf65d4a
release 2016.04.06
9 years ago
Jaime Marquínez Ferrándiz
ec4a4c6fcc
Makefile: remove ISSUE_TEMPLATE.md from the 'all' target ( fixes #9088 )
...
It isn't included in the tar file, causing build failures.
Since it's only used for GitHub, I think we don't need to store it in the tar file.
9 years ago
Jaime Marquínez Ferrándiz
be0c7009fb
Makefile: use full path for the ISSUE_TEMPLATE.md file
9 years ago
Yen Chi Hsuan
92d5477d84
[compat] Handle tuples properly in urlencode()
...
Fixes #9055
9 years ago
Yen Chi Hsuan
8790249c68
[iqiyi] Improve error detection for VIP-only videos
...
Closes #9071
9 years ago
Philipp Hagemeister
416930d450
release 2016.04.05
9 years ago
Sergey M․
65150b41bb
[deezer] Fix extraction ( Closes #9086 )
9 years ago
Sergey M․
e42f413716
[rte] Improve thumbnail extraction ( Closes #9085 )
9 years ago
Sergey M․
40a056d85d
[extractor/__init__] Remove novamov extractor and sort novamov based extractors alphabetically
9 years ago
Sergey M․
e7d77efb9d
[auroravid] Add extractor ( Closes #9070 )
9 years ago
Sergey M․
995cf05c96
[novamov] Make title fatal
9 years ago
Jaime Marquínez Ferrándiz
5bf28d7864
[utils] dfxp2srt: add additional namespace
...
Used by the ZDF subtitles (#9081 ).
9 years ago
Jaime Marquínez Ferrándiz
8c7d6e8e22
[zdf] Extract subtitles ( closes #9081 )
9 years ago
Sergey M․
6d4fc66bfc
[youtube] Add support for zwearz ( Closes #9062 )
9 years ago
remitamine
23576edbfc
[brightcove:legacy] skip None value for uploader_id
9 years ago
remitamine
4d4cd35f48
[brightcove:legacy] extract uploader_id as a string
9 years ago
remitamine
3aac9b2fb1
[nowness] update tests
9 years ago
remitamine
e47d19e991
[brightcove:new] extract subtitles and strip video title
9 years ago
remitamine
41f5492fbc
[brightcove:legacy] improve format extraction and extract uploader_id, duration and timestamp
9 years ago
Jaime Marquínez Ferrándiz
2defa7d75a
[instagram:user] Fix extraction ( fixes #9059 )
...
The URL for the next page was incorrect and we always got the same page, therefore it got trapped in an infinite loop.
9 years ago
Sergey M․
bbc26c8a01
[bbc] Set vcodec to none for audio formats
9 years ago
Sergey M․
b507cc925b
[extractor/common] Carry long line
9 years ago
Sergey M․
db8ee7ec05
[extractor/common] Fix numeric identifiers conversion in DASH URL templates
9 years ago
remitamine
08136dc138
[brightcove] fix format sorting
9 years ago