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

ERROR: 'NoneType' object has no attribute 'get' when querying a youtube watch_videos link #295

Open
zaednasr opened this issue Sep 15, 2024 · 4 comments

Comments

@zaednasr
Copy link
Contributor Author

Stack Trace:
com.yausername.youtubedl_android.YoutubeDL.execute(YoutubeDL.kt:202)
com.yausername.youtubedl_android.YoutubeDL.execute$default(YoutubeDL.kt:141)

@Dart2112
Copy link

What is the code you are using to attempt this. That link works perfectly for me and downloads all of the videos like a playlist

@zaednasr
Copy link
Contributor Author

zaednasr commented Sep 28, 2024

Hi, sorry for late response

val request = YoutubeDLRequest(url)
request.addOption("--flat-playlist")
request.addOption("-j")
request.addOption("--skip-download")
val youtubeDLResponse = YoutubeDL.getInstance().execute(request)

@zaednasr
Copy link
Contributor Author

Downloading is fine but json dump doesnt work. This could very well be a python deprecation error. We need to update the python binaries

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

No branches or pull requests

2 participants