fixed support for latest version of yt-dlp
This commit is contained in:
@@ -44,7 +44,7 @@ class Helper
|
|||||||
{
|
{
|
||||||
$progressRegex = '#\[download\]\s+' .
|
$progressRegex = '#\[download\]\s+' .
|
||||||
'(?<percentage>\d+(?:\.\d+)?%)' . //progress
|
'(?<percentage>\d+(?:\.\d+)?%)' . //progress
|
||||||
'\s+of\s+[~]?' .
|
'\s+of\s+[~]?\s*' .
|
||||||
'(?<filesize>\d+(?:\.\d+)?(?:K|M|G)iB)' . //file size
|
'(?<filesize>\d+(?:\.\d+)?(?:K|M|G)iB)' . //file size
|
||||||
'(?:\s+at\s+' .
|
'(?:\s+at\s+' .
|
||||||
'(?<speed>(\d+(?:\.\d+)?(?:K|M|G)iB/s)|Unknown speed))' . //speed
|
'(?<speed>(\d+(?:\.\d+)?(?:K|M|G)iB/s)|Unknown speed))' . //speed
|
||||||
|
|||||||
Reference in New Issue
Block a user