Bugfix onProgress regex pattern trigger (~)
Fixed Download Progress event on yt-dlp v2023.03.04
Before download info was: [download] 0.1% of ~820.00MiB at 599.88KiB/s ETA 23:18 (frag 0/82)
Now it prints as: [download] 0.1% of ~ 820.00MiB at 599.88KiB/s ETA 23:18 (frag 0/82)
Closes #200
Put back /i modifier on regex by a mislead typo.
@unilogica are you willing to add the test? :)
@unilogica are you willing to add the test? :)
Sure. I will do that in this Saturday
Error downloading video: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output..
yt-dlp is up to date ([email protected])
What is wrong for me?
New yt-dlp update, new regex for anyone having this issue again.
\[download\]\s+(?<percentage>\d+(?:\.\d+)?%)\s+of\s+(?<size>[~]?[\s\d]*\d+(?:\.\d+)?(?:KiB|MiB|GiB|B))(?:\s+at\s+(?<speed>(\d+(?:\.\d+)?(?:K|M|G)iB/s)|Unknown speed))?(?:\s+ETA\s+(?<eta>([\d:]{2,8}|Unknown ETA)))?(\s+in\s+(?<totalTime>[\d:]{2,8}))?
Demo : https://regex101.com/r/dm1fIB/1
@UnicodeApocalypse so why not submitting a Pull request? :)
So are is there anyone who is willing to finish this?