fix: Fix downloading a playlist as a TAR archive
This is the only time where youtube-dl returning an empty URL is not a problem.
This commit is contained in:
parent
17b9185e53
commit
edf4d4644d
3 changed files with 30 additions and 6 deletions
15
classes/EmptyUrlException.php
Normal file
15
classes/EmptyUrlException.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
/**
|
||||
* EmptyUrlException class.
|
||||
*/
|
||||
|
||||
namespace Alltube;
|
||||
|
||||
use Exception;
|
||||
|
||||
/**
|
||||
* Exception thrown when youtube-dl returns an empty URL.
|
||||
*/
|
||||
class EmptyUrlException extends Exception
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue