./net/yt-dlp, Youtube-dl fork with new features and patches

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2024.4.9, Package name: yt-dlp-2024.4.9, Maintainer: pkgsrc-users

Yt-dlp is a youtube-dl fork with additional features and fixes.
The main focus of this project is adding new features and patches
while also keeping up to date with the original project.
Some of the new features are:
* SponsorBlock API integration
* Format Sorting
* youtube improvements
* obtain cookies from browser
* split video by chapters into files
* multi-threaded fragment downloads
* new and fixed/improved extractors
* subtitle extraction from manifests
* multiple paths and output templates
* portable configuration
* new options
* plugin extractors
* differences in default behavior


Master sites:

Filesize: 2716.829 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-10 10:01:17 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
yt-dlp: updated to 2024.4.9

yt-dlp 2024.04.09

Important changes

Security: [CVE-2024-22423] Prevent RCE when using --exec with %q on Windows
The shell escape function now properly escapes %, \ and \n.
utils.Popen has been patched accordingly.
   2024-03-11 09:37:26 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
yt-dlp: updated to 2024.3.10

yt-dlp 2024.03.10

Core changes

Add --compat-options 2023
Create ydl._request_director when needed by pukkandan (With fixes in dbd8b1b by \ 
Grub4k)
Don't select storyboard formats as fallback by bashonly
Handle --load-info-json format selection errors
Warn user when not launching through shell on Windows
cookies
Fix --cookies-from-browser for snap Firefox
Fix --cookies-from-browser with macOS Firefox profiles
Improve error message for Windows --cookies-from-browser chrome issue
plugins: Handle PermissionError
utils
Improve repr of DateRange, match_filter_func by pukkandan
traverse_obj: Support xml.etree.ElementTree.Element
webvtt: Don't parse single fragment files
Extractor changes

Migrate commonly plural fields to lists
Support multi-period MPD streams
abematv
Fix extraction with cache
Support login for playlists
adn
Add support for German site
Improve auth error handling
aenetworks: Rating should be optional for AP extraction
altcensored: channel: Fix playlist extraction
amadeustv: Add extractor
ant1newsgrembed: Fix extractor
archiveorg: Fix format URL encoding
ard
mediathek
Revert to using old id
Support cookies to verify age
art19: Add extractors
artetv: Separate closed captions
asobichannel: Add extractors
bigo: Fix JSON extraction
bilibili
Add referer header and fix metadata extraction
Support --no-playlist
bilibilisearch: Set cookie to fix extraction
biliintl: Fix and improve subtitles extraction
boosty: Add extractor
ccma: Extract 1080p DASH formats
cctv: Fix extraction
chzzk
Add extractors
live: Support --wait-for-video
cineverse: Detect when login required
cloudflarestream
Extract subtitles
Improve _VALID_URL
Improve embed detection
cloudycdn, lsm: Add extractors
cnbc: Overhaul extractors
craftsy: Fix extractor
crooksandliars: Fix extractor
crtvg: Fix _VALID_URL
dailymotion: Support search
douyin: Fix extractor
duboku: Fix m3u8 formats extraction
dumpert: Improve _VALID_URL
elementorembed: Add extractor
eporner: Extract AV1 formats
errjupiter
Add extractor
Improve _VALID_URL
facebook
Add new ID format
Improve extraction by jingtra, ringus1
Improve thumbnail extraction
Set format HTTP chunk size
Support events
Support permalink URLs
ads: Add extractor
flextv: Add extractor
floatplane: Improve metadata extraction
francetv
Fix DAI livestreams
Fix extractors
Fix m3u8 formats extraction
funk: Fix extractor
generic: Follow https redirects properly
getcourseru: Add extractors
gofile: Fix extraction
googledrive: Fix source file extraction
goplay: Fix extractor
gopro: Fix extractor
ilpost: Add extractor
jiosaavnsong: Support more bitrates
kukululive: Add extractor
lefigarovideoembed: Fix extractor
linkedin: Fix metadata and extract subtitles
magellantv: Support episodes
magentamusik: Add extractor
medaltv: Fix extraction
mlbarticle: Fix extractor
motherless: Support uploader playlists
mujrozhlas: Fix extraction
mx3: Add extractors
naver: Fix extractors
nebula: Support podcasts
nerdcubedfeed: Overhaul extractor
newgrounds
Fix login and clean up extraction
user: Fix extractor
nfb: Add support for onf.ca and series
nhkradiru: Extract extended description
nhkradirulive: Make metadata extraction non-fatal
niconico
Remove legacy danmaku extraction
Support DMS formats
ninaprotocol: Add extractor
ninenews: Add extractor
nova: Fix embed extraction
ntvru: Fix extraction
nuum: Add extractors
nytimes
Extract timestamp
Overhaul extractors
onefootball: Fix extractor
openrec: Pass referer for m3u8 formats
orf: on: Add extractor
patreon: Fix embedded HLS extraction
peertube: Update instances
piapro: Improve _VALID_URL
playsuisse: Add login support
pornhub: Fix login support
pr0gramm: Enable POL filter and provide tags without login
prankcastpost: Add extractor
radiko: Extract more metadata
rai
Filter unavailable formats
Fix m3u8 formats extraction
redcdnlivx, sejm: Add extractors
redtube
Fix formats extraction
Support redtube.com.br URLs
ridehome: Add extractor
rinsefmartistplaylist: Add extractor
roosterteeth
Add Brightcove fallback
Extract ad-free streams
Extract release date and timestamp
Support bonus features
rule34video
Extract creators
Extract more metadata
Fix _VALID_URL
rumblechannel: Fix extractor
screencastify: Update _VALID_URL
svtpage: Fix extractor
swearnet: Raise for login required
tiktok: Fix webpage extraction
trtworld: Add extractor
tvp: Support livestreams
twitch: Fix m3u8 extraction
twitter
Extract bitrate for HLS audio formats
Extract numeric channel_id
txxx: Extract thumbnails
utreon: Support playeur.com
vbox7: Fix extractor
viewlift: Add support for chorki.com
vimeo
Extract live_status and release_timestamp
Fix API headers
Fix login
viously: Add extractor
youtube
Better error when all player responses are skipped
Bump Android and iOS client versions
Further bump client versions
tab: Fix tags extraction
zenporn: Add extractor
zetland: Add extractor
Downloader changes

http: Reset resume length to handle FileNotFoundError
Networking changes

Remove _CompatHTTPError
Request Handler
Remove additional logging handlers on close
requests: Apply remove_dot_segments to absolute redirect locations by coletdjnz
Misc. changes

build
Add default optional dependency group
Add transitional setup.py and pyinst.py
Bump actions/upload-artifact to v4 and adjust workflows by bashonly
Bump conda-incubator/setup-miniconda to v3 by bashonly
Fix secretstorage for ARM builds by bashonly
Migrate to pyproject.toml and hatchling by bashonly (With fixes in 43cfd46)
Move bundle scripts into bundle submodule by bashonly
Support failed build job re-runs
Makefile
Add automated CODE_FOLDERS and CODE_FILES by bashonly
Ensure compatibility with BSD make
Fix man pages generated by pandoc>=3
ci: Bump actions/setup-python to v5 by bashonly
cleanup
Build files cleanup by bashonly
Fix infodict returned fields
Fix typo in README.md
Mark broken and remove dead extractors
Match both http and https in _VALID_URL
Remove unused code
Miscellaneous
93240fc by bashonly, Grub4k, pukkandan, seproDev
615a844 by bashonly, pukkandan, seproDev
devscripts
install_deps: Add script and migrate to it by bashonly
tomlparse: Add makeshift toml parser by Grub4K
docs: Misc Cleanup
test
Skip source address tests if the address cannot be bound to
websockets: Fix timeout test on Windows
   2023-12-31 08:58:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
yt-dlp: updated to 2023.12.30

2023.12.30

Core changes

Fix format selection parse error for CPython 3.12
Let read_stdin obey --quiet by pukkandan
Merged with youtube-dl be008e6 by bashonly, dirkf, Grub4K
Parse release_year from release_date
Release workflow and Updater cleanup
Remove Python 3.7 support
Support NO_COLOR environment variable
outtmpl: Support multiplication by pukkandan
utils: traverse_obj: Move is_user_input into output template
webvtt: Allow spaces before newlines for CueBlock
   2023-11-16 07:34:51 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
yt-dlp: updated to 2023.11.16

yt-dlp 2023.11.16

Extractor changes

abc.net.au: iview, showseries: Fix extraction
beatbump: Update _VALID_URL
dailymotion: Improve _VALID_URL
drtv: Fix extractor
eltrecetv: Add extractor
jiosaavn: Add extractors
njpwworld: Remove
tv5mondeplus: Extract subtitles
twitcasting: Fix livestream detection
zenyandex: Fix extraction

Misc. changes

build: Make secretstorage an optional dependency
   2023-11-15 09:29:22 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
yt-dlp: updated to 2023.11.14

yt-dlp 2023.11.14

Important changes

The release channels have been adjusted!
- master builds are made after each push, containing the latest fixes (but also \ 
possibly bugs). This was previously the nightly channel.
- nightly builds are now made once a day, if there were any changes.

Security: [CVE-2023-46121] Patch Generic Extractor MITM Vulnerability via \ 
Arbitrary Proxy Injection
- Disallow smuggling of arbitrary http_headers; extractors now only use specific \ 
headers
   2023-10-15 09:51:56 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
yt-dlp: updated to 2023.10.13

2023.10.13

Core changes

Ensure thumbnail output directory exists
utils
js_to_json: Fix Date constructor parsing
write_xattr: Use os.setxattr if available

Extractor changes

artetv: Support age-restricted content
jtbc: Add extractors
mbn: Add extractor
nhk: Fix Japanese-language VOD extraction
radiko: Fix bug with downloader_options by bashonly
tenplay: Add support for seasons
youku: Improve tudou.com support
youtube: Fix bug with --extractor-retries inf

Downloader changes

fragment: Improve progress calculation
   2023-10-07 22:09:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
yt-dlp: updated to 2023.10.7

yt-dlp 2023.10.07

Extractor changes

abc.net.au: iview: Improve episode extraction
erocast: Add extractor
gofile: Fix token cookie bug by bashonly
iq.com: Fix extraction and subtitles
lbry
Add playlist support
Extract uploader_id
litv: Fix extractor
neteasemusic: Fix extractors
nhk: Fix VOD extraction
radiko: Improve extraction
substack
Fix download cookies bug
Fix embed extraction
theta: Remove extractors
wrestleuniversevod: Call API with device ID
xhamster: user: Support creator urls
youtube
Fix heatmap extraction
Raise a warning for Incomplete Data instead of an error

Misc. changes

cleanup
Update extractor tests
Miscellaneous: 377e85a by dirkf, gamer191, Grub4K
   2023-09-27 11:21:30 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
yt-dlp: updated to 2023.9.24

yt-dlp 2023.09.24

Important changes

The minimum recommended Python version has been raised to 3.8
Since Python 3.7 has reached end-of-life, support for it will be dropped soon. \ 
Read more
Security: [CVE-2023-40581] Prevent RCE when using --exec with %q on Windows
The shell escape function is now using "" instead of \".
utils.Popen has been patched to properly quote commands.