$collection->getVideos() returning as empty array. #256
Unanswered
saintdevera
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Add debug output too see what's going on:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm basically following your docs: https://github.com/norkunas/youtube-dl-php and I have yt-dlp installed as well.
$url is a valid Youtube URL.
$format is mp3.
Here's my code:
that whole thing echos out:
No videos found for the provided URL.
and when var_dump (iirc)
$collection: object(YoutubeDl\Entity\VideoCollection)#97 (1) { ["elements":protected]=> array(0) { } }
Beta Was this translation helpful? Give feedback.
All reactions