Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random youtube video returning unstreamable Stream URL #21052

Closed
gcfrxbots opened this issue May 10, 2019 · 1 comment
Closed

Random youtube video returning unstreamable Stream URL #21052

gcfrxbots opened this issue May 10, 2019 · 1 comment

Comments

@gcfrxbots
Copy link

@gcfrxbots gcfrxbots commented May 10, 2019

Checklist

  • [ x] I'm reporting a broken site support issue
  • [x ] I've verified that I'm running youtube-dl version 2019.04.30
  • [x ] I've checked that all provided URLs are alive and playable in a browser
  • [ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [ x] I've searched the bugtracker for similar bug reports including closed ones
  • [x ] I've read bugs section in FAQ

Description

No Verbose Log as the issue is currently present in Python 3.7.

When using the code

            ydl_opts = {
                'format': 'bestaudio',
            }

            with youtube_dl.YoutubeDL(ydl_opts) as ydl:
                info = ydl.extract_info(yturl, download=False)
            print(info['formats'][0]['url'])

to retrieve the stream URL of youtube tracks, every track I've tested works perfectly EXCEPT FOR
https://www.youtube.com/watch?v=cJOp0N5hK2c, for some reason. Instead of linking a stream for an m4a or mp3, i'm prompted to download a file titled 'yt8.' When passing the URL to python-vlc to play it, the video appears when it shouldnt and VLC throws a load of redirect errors.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 10, 2019

PS C:\Dev\youtube-dl\master> py -3.7 .\youtube_dl\__main__.py https://www.youtube.com/watch?v=cJOp0N5hK2c -f bestaudio
[youtube] cJOp0N5hK2c: Downloading webpage
[youtube] cJOp0N5hK2c: Downloading video info webpage
[youtube] cJOp0N5hK2c: Downloading MPD manifest
[dashsegments] Total fragments: 43
[download] Destination: Sable Symphony - Open Up Your Eyes (Metal Cover)-cJOp0N5hK2c.m4a
[download]  62.8% of ~3.14MiB at  6.29MiB/s ETA 00:00
ERROR: Interrupted by user

Returned URL is a segmented DASH BaseURL. There is no plain HTTP URL for this media.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.