Yen Chi Hsuan
1b405bb47d
[downloader/f4m] Tolerate truncate segments when testing
...
Replaces #9216
Fixes #9214 and test_Bloomberg partially
9 years ago
Yen Chi Hsuan
edaa23f822
[compat] Rename struct_(un)pack to compat_struct_(un)pack
9 years ago
Yen Chi Hsuan
dab0daeeb0
[utils,compat] Move struct_pack and struct_unpack to compat.py
9 years ago
Sergey M․
f7df343b4a
[downloader/f4m] Extract routine for removing unsupported encrypted media
9 years ago
Sergey M․
b8c9926c0a
[downloader/f4m] Do not update fragment list while test
9 years ago
Sergey M․
09104e9930
[downloader/f4m] Add live stream flag to context
...
Now download progress for f4m livestreams is reported correctly
9 years ago
Sergey M․
8ab3fe81d8
[downloader/f4m] Prefer bootstrap url attribute over inline bootstrap info
9 years ago
Sergey M․
4db43567e8
[downloader/f4m] Decode manifest before fixing
9 years ago
Sergey M․
17b786ae73
[downloader/f4m] Fix malformed manifests ( Closes #7823 )
9 years ago
Jaime Marquínez Ferrándiz
36e6f62cd0
Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x ( #7178 )
...
Attributes aren't unicode objects, so they couldn't be directly used in info_dict fields (for example '--write-description' doesn't work with bytes).
9 years ago
Sergey M․
8cd9614abf
[downloader/f4m] More accurate fragment URL construction
9 years ago
remitamine
324ac0a243
[downloader/f4m] get the redirected f4m_url and handle url query string properly
9 years ago
Sergey M․
db8f2bfd99
[f4m] Add missing imports
9 years ago
Sergey M.
55801fc76e
Merge pull request #5588 from aajanki/encode_frag_filenames
...
[f4m] Fix encode error by sanitizing fragment filenames
9 years ago
Sergey M․
ab81ef8fa7
[f4m] Implement f4m fd in terms of fragment fd
10 years ago
Antti Ajanki
233c1c0e76
[downloader/f4m] Fragment filenames must be sanitized
...
because the fragment was written to a file with a sanitized name by
http_dl.download()
10 years ago
Yen Chi Hsuan
c6391cd587
[Senate] Add new extractor ( #5302 )
10 years ago
Jaime Marquínez Ferrándiz
43d6280d0a
[downloader/f4m] Fix use of base64 in python 3.2 ( fixes #5132 )
...
b64decode needs a byte string, but on 3.4 it also accepts strings.
10 years ago
Antti Ajanki
5eaaeb7c31
[f4m] Tolerate missed fragments on live streams
10 years ago
Antti Ajanki
c4f8c453ae
[f4m] Refresh fragment list periodically on live streams
10 years ago
Philipp Hagemeister
8fb3ac3649
PEP8: W503
10 years ago
Philipp Hagemeister
a91a2c1a83
[downloader] Remove various unneeded assignments and imports
10 years ago
Philipp Hagemeister
5cda4eda72
[YoutubeDL] Use a progress hook for progress reporting
...
Instead of every downloader calling two helper functions, let our progress report be an ordinary progress hook like everyone else's.
Closes #4875 .
10 years ago
Jaime Marquínez Ferrándiz
e41b1f7385
Fix flake8 errors
10 years ago
Philipp Hagemeister
d543bdc351
[downloader/f4m] Clarify that we should eventually just implement the DRM scheme ( #3000 )
10 years ago
rzhxeo
6ca85be6f8
Filter DRM protected media in f4m downloader
10 years ago
Jaime Marquínez Ferrándiz
bf7fa94ec7
[downloader/f4m] build_fragments_list: Support videos with more than 1 segment
10 years ago
Antti Ajanki
f14f2a6d79
[downloader/f4m] Minor cleanup
10 years ago
Antti Ajanki
2c322cc5d6
[downloader/f4m] The last value in a tag is the tag length
10 years ago
Antti Ajanki
3b8f3a1504
[downloader/f4m] <metadata> is optional according to the F4M specs
10 years ago
Philipp Hagemeister
7af808a5ef
Improve code style
10 years ago
Philipp Hagemeister
da4d4191a9
Merge branch 'master' of github.com:rg3/youtube-dl
10 years ago
Philipp Hagemeister
1cc79574fc
Fix imports and general cleanup
...
· Import from compat what comes from compat. Yes, some names are available in utils too, but that's an implementation detail.
· Use _match_id consistently whenever possible
· Fix some outdated tests
· Use consistent valid URL (always match the whole protocol, no ^ at start required)
· Use modern test definitions
10 years ago
Jouke Waleson
9e1a5b8455
PEP8: applied even more rules
10 years ago
Jouke Waleson
2514d2635e
PEP8: E225,E227
10 years ago
Jouke Waleson
8bcc875676
PEP8: more applied
10 years ago
Philipp Hagemeister
ee966928af
[f4m] Support bootstrap URLs
10 years ago
Jaime Marquínez Ferrándiz
b509a4b176
[downloader/f4m] If <pv-2.0> is in the manifest, add it to the fragments urls query ( fixes #3176 )
...
It's used in some akamai videos (for example for theplatform.com).
10 years ago
Jaime Marquínez Ferrándiz
31bb8d3f51
[bloomberg] Extract the available formats ( closes #2776 )
...
It uses a helper method in the InfoExtractor class.
The downloader will pick the requested formats using the bitrate in the info dict.
11 years ago
Jaime Marquínez Ferrándiz
b900e7cba4
[downloader/f4m] Close the final video
11 years ago
Philipp Hagemeister
1df96e59ce
[f4m] Clean up
11 years ago
Jaime Marquínez Ferrándiz
1824b48169
[f4m] Download only the first fragment with the `--test` option
11 years ago
Philipp Hagemeister
b53466e168
Fix f4m downloading on Python 2.6
11 years ago
Jaime Marquínez Ferrándiz
cf1eb45153
Add a downloader for f4m manifests
11 years ago