Commit Graph

14127 Commits (9463637887ba784e3499410ab0945dcd68002bc1)
 

Author SHA1 Message Date
Yen Chi Hsuan 53a7e3d287
[utils] Support xattr as well as pyxattr
Closes #9054

There are two xattr packages in Python, pyxattr [1] and xattr [2]. They
have different APIs.

In old days pyxattr supports Linux only and xattr supports Linux, Mac,
FreeBSD and Solaris, and pyxattr supports Linux only. Recently pyxattr
adds support for Mac OS X. [3]

An old version of [2] is shipped with Mac OS X. However, some Linux
distributions have pyxattr only, for example PLD-Linux [4] and old Arch
Linux. [5] As a result, supporting both is the way to go.

[1] https://github.com/iustin/pyxattr
[2] https://github.com/xattr/xattr
[3] https://github.com/iustin/pyxattr/pull/9
[4] https://github.com/rg3/youtube-dl/issues/5498
[5] https://git.archlinux.org/svntogit/community.git/commit/?id=427c4c76401e386d865ccddea4fbfdc74df80492
    https://git.archlinux.org/svntogit/community.git/commit/?id=59b40da7b69622a6761d364a8b07909e9cccaa56
    python-xattr is added on 2016/06/29 while pyxattr is there for more
    than 6 years
8 years ago
Yen Chi Hsuan d54739a2e6
[downloader/http] xattr values should be bytes 8 years ago
Yen Chi Hsuan 63e0fd5bcc Merge pull request #10818 from TRox1972/criterion_match_id
[criterion] Rely on _match_id, improve regex and add thumbnail to test
8 years ago
Déstin Reed 9c51a24642 [criterion] Rely on _match_id, improve regex and add thumbnail to test 8 years ago
Yen Chi Hsuan 9bd7bd0b80
[twitch] Skip a 404 test 8 years ago
Yen Chi Hsuan 4a76b73c6c Merge pull request #10817 from TRox1972/clubic_match_id
[clubic] Rely on _match_id and _parse_json
8 years ago
Yen Chi Hsuan e295618f9e
[dctp] Fix extraction (closes #10734) 8 years ago
Yen Chi Hsuan d7753d1948
[downloader/http] Use write_xattr function for --xattr-set-filesize 8 years ago
Déstin Reed eaf9b22f94 [clubic] Rely on _match_id and _parse_json 8 years ago
Sergey M․ a1001f47fc
[instagram] PEP 8 8 years ago
Déstin Reed 1609782258
[Instagram] Extract video dimensions 8 years ago
Sergey M․ de6babf922
[tvland] Extend _VALID_URL (Closes #10812) 8 years ago
Sergey M․ b0582fc806
[vgtv] Add support for tv.aftonbladet.se (Closes #10800) 8 years ago
Sergey M․ af33dd8ee7
[aftonbladet] Remove extractor 8 years ago
Sergey M․ 70d7b323b6
[vk] Improve view count extraction 8 years ago
Sergey M․ a7ee8a00f4
[vk] Extract timestamp (Closes #10760) 8 years ago
Sergey M․ c6eed6b8c0
[utils] Lower priority for rare date formats and add tests 8 years ago
Kacper Michajłow 3aa3953d28
[vk] Fix date and view count extraction. 8 years ago
Yen Chi Hsuan efa97bdcf1
Move write_xattr to utils.py
There are some other places that use xattr functions. It's better to
move it to a common place so that others can use it.
8 years ago
Sergey M․ 475f8a4580
[vk] Add support for running live streams (Closes #10799) 8 years ago
Sergey M․ 93aa0b6318
[vk] Add support for finished live streams (#10799) 8 years ago
Yen Chi Hsuan 0ce26ef228 Merge pull request #10788 from TRox1972/instagram_comments
[Instagram] Extract comments
8 years ago
Yen Chi Hsuan 0d72ff9c51
[leeco] Recognize more Le Sports URLs (#10794) 8 years ago
Déstin Reed a56e74e271 [Instagram] Extract comments 8 years ago
Sergey M․ f533490bb7
[ketnet] Extract mzsource formats (#10770) 8 years ago
Remita Amine 8bfda726c2 [limelight:media] improve http formats extraction 8 years ago
Sergey M․ 8f0cf20ab9
release 2016.09.27 8 years ago
Sergey M․ c8f45f763c
[ChangeLog] Remove duplicate 8 years ago
Sergey M․ dd2cffeeec
[ChangeLog] Actualize 8 years ago
Sergey M․ cdfcc4ce95
[mtv] Improve _VALID_URL 8 years ago
Kacper Michajłow e384552590
[vk] Add support for dailymotion embeds
Fixes #10661
8 years ago
Sergey M․ 1a2fbe322e
[periscope] Treat timed_out state as finished stream 8 years ago
Sergey M․ f9dd86a112
[npo] Clarify IE_NAMEs (Closes #10775) 8 years ago
Remita Amine 2342733f85 fix tests related to 1978540a5122c53012e17a78841f3da0df77fd34(closes #10774) 8 years ago
Remita Amine 93933c9819 [awaan:video] fix test(closes #10773) 8 years ago
Yen Chi Hsuan d75d9e343e
[einthusan] Fix extraction (closes #10714) 8 years ago
Sergey M․ 72c3d02d29
[promptfile] Improve and modernize 8 years ago
Ondřej Bárta d3dbb46330
[promptfile] Fix extraction (Closes #10634) 8 years ago
Sergey M․ fffb9cff94
[kaltura] Speed up embed regexes (#10764) 8 years ago
Yen Chi Hsuan d3c97bad61
Ignore and cleanup 3gp files 8 years ago
Sergey M․ 2d5b4af007
[extractors] Add import for anderetijden extractor 8 years ago
Sergey M․ f1ee462c82
[PULL_REQUEST_TEMPLATE.md] Fix typo 8 years ago
Sergey M․ 5742c18bc1
[npo] Add support for anderetijden.nl (Closes #10754) 8 years ago
Sergey M․ ddb19772d5
[vpro] Fix playlist title extraction and update tests 8 years ago
Sergey M․ a3d8b38168
[npo] Generalize playlist extractors 8 years ago
Sergey M․ e590b7ff9e
[PULL_REQUEST_TEMPLATE.md] Add checkable Improvement options PR's purpose 8 years ago
Sergey M․ f3625cc4ca
[PULL_REQUEST_TEMPLATE.md] Add Unlicense notice 8 years ago
stepshal 2d3d29976b
[youtube] Change test URLs from http to https 8 years ago
Sergey M․ 493353c7fd
[prosiebensat1] Add support for advopedia 8 years ago
Sergey M․ 0a078550b9
[prosiebensat1] Improve _VALID_URL 8 years ago