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

Windows 10 Playlist download unable to get titles (python 3.7.0) #22694

Closed
adumelie opened this issue Oct 13, 2019 · 1 comment
Closed

Windows 10 Playlist download unable to get titles (python 3.7.0) #22694

adumelie opened this issue Oct 13, 2019 · 1 comment

Comments

@adumelie
Copy link

@adumelie adumelie commented Oct 13, 2019

When downloading a playlist youtube_dl is unable to extract individual video titles for the elements of the playlist:

ydl_opts = {'format': 'bestaudio/best',
                'postprocessors': [
                    {'key': 'FFmpegExtractAudio', 'preferredcodec': "mp3",
                     'preferredquality': "256"}]
                }

url = "https://www.youtube.com/playlist?list=PLmAVRRr5uCHP9F_Z1w5gpar2PvsvrhFCA"
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    info = ydl.extract_info(url, download=False)

For the code above on Windows 10, using python 3.7.0 info['entries'][x]['title'] is always '_' (ie: No titles are found, only element id's can be extracted and overall playlist title)

The same code running on python 3.6.8 on Ubuntu18.04 correctly extracts the title for each element of the playlist.

@adumelie
Copy link
Author

@adumelie adumelie commented Oct 13, 2019

Sorry about that, forgot python was now on 3.7.4

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.