Open e2jk opened 4 years ago
Came here with the same issue -- I was using player_response
from pytube to obtain
stream.player_config_args['player_response']['videoDetails']['title']
I can update my code to use stream.title
obviously but wanted to echo that this is the only place I've noticed lack of backwards compatibility.
Thanks for your work on pytube3!
When migrating from
pytube
topytube3
, my code broke due toplayer_response
not existing in pytube3's version ofpytube.player_config_args
.In
pytube
upstream it is defined in filepytube/__main__.py
(currently at lines 70 and 146) as:Any specific reason why this is not included in
pytube3
making the code not backwards compatible? (the same search in thepytube3
repo doesn't return code matches, only this mention about not supporting external access toplayer_config_args
.FYI I used this to retrieve the channel ID of the author of a video, as in: