youtube-dl-php icon indicating copy to clipboard operation
youtube-dl-php copied to clipboard

Bugfix onProgress regex pattern trigger (~)

Open unilogica opened this issue 2 years ago • 7 comments

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

unilogica avatar Mar 12 '23 14:03 unilogica

Put back /i modifier on regex by a mislead typo.

unilogica avatar Mar 13 '23 08:03 unilogica

@unilogica are you willing to add the test? :)

norkunas avatar Mar 27 '23 14:03 norkunas

@unilogica are you willing to add the test? :)

Sure. I will do that in this Saturday

unilogica avatar Mar 29 '23 19:03 unilogica

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?

Pljushevij avatar May 22 '23 11:05 Pljushevij

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 avatar Sep 25 '23 17:09 UnicodeApocalypse

@UnicodeApocalypse so why not submitting a Pull request? :)

norkunas avatar Oct 02 '23 05:10 norkunas

So are is there anyone who is willing to finish this?

norkunas avatar Dec 20 '23 05:12 norkunas