fixed youtube-dl download items not showing up in centos7 snap installation
This commit is contained in:
@@ -30,7 +30,7 @@ class YoutubeHelper
|
||||
}
|
||||
public function getFilePath($output)
|
||||
{
|
||||
$rules = '#\[download\]\s+Destination:\s+(?<filename>.*\.(?<ext>(mp4|mp3|aac|webm|m4a|ogg|3gp|mkv|wav|flv)))$#i';
|
||||
$rules = '#\[download\]\s+Destination:\s+(?<filename>.*\.(?<ext>(mp4|mp3|aac|webm|m4a|ogg|3gp|mkv|wav|flv)))#i';
|
||||
|
||||
preg_match($rules, $output, $matches);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user