Code Monkey home page Code Monkey logo

Comments (10)

maxi1134 avatar maxi1134 commented on August 16, 2024

Ever found a solution?

from sonarr_youtubedl.

Nammurg avatar Nammurg commented on August 16, 2024

Ever found a solution?

No unfortunately, google search suggests that the yt-dl needs to be updated but I don't know how to do that...

from sonarr_youtubedl.

pdbintheusa avatar pdbintheusa commented on August 16, 2024

I'm having the same issue. After some research it seems as though my best guess is it's not properly handling when the Youtube owner account is using the new "youtube.com/@channelname" instead of old url style but I believe the solution is in the code itself for not handling the "@".

For clarification, I am using the most up to date yt-dlp version. I also am able to download a video directly through yt-dlp commands. However, I get the same error as you when using sonarr_youtubedl. So, it seems like it may be a mismatch between the handling of the "@" in the url for the channel that is causing the issue. But I don't know for sure.

from sonarr_youtubedl.

Nammurg avatar Nammurg commented on August 16, 2024

I have had this issue for a while now and have tested it with windows yt-dlp clients and I get the same exact error.
I have managed to successfully download a video using this version on windows: yt-dlp nightly 2023.09.21.222108 Latest

from sonarr_youtubedl.

Nammurg avatar Nammurg commented on August 16, 2024

Also I was successful downloading with version: yt-dlp 2023.07.06 Latest
I believe pull request #60 needs to be merged for this issue to be resolved.
@whatdaybob any chance this can me merged?

from sonarr_youtubedl.

Nammurg avatar Nammurg commented on August 16, 2024

doing some more digging, I have managed to update the yt-dlp to the latest version of 2023.07.06 and I am still getting the same error.
However, when I run yt-dlp directly from the docker container, it works?!
I am not sure what is going on here :/

Result when running yt-dlp directly from the container:

root@ce42168f54d6:/usr/local/bin# yt-dlp -P "/sonarr_root" "https://www.youtube.com/watch?v=Ghe058HpmMk" [youtube] Extracting URL: https://www.youtube.com/watch?v=Ghe058HpmMk [youtube] Ghe058HpmMk: Downloading webpage WARNING: [youtube] unable to extract initial player response; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U [youtube] Ghe058HpmMk: Downloading ios player API JSON [youtube] Ghe058HpmMk: Downloading android player API JSON [youtube] Ghe058HpmMk: Downloading iframe API JS [youtube] Ghe058HpmMk: Downloading player f130aa11 [youtube] Ghe058HpmMk: Downloading web player API JSON [youtube] Ghe058HpmMk: Downloading m3u8 information WARNING: [youtube] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U WARNING: [youtube] Incomplete data received in embedded initial data; re-fetching using API. [youtube] Ghe058HpmMk: Downloading initial data API JSON [info] Ghe058HpmMk: Downloading 1 format(s): 303+251 [download] Destination: /sonarr_root/Fix for youtube-dl Unable to extract uploader id [Ghe058HpmMk].f303.webm [download] 100% of 11.59MiB in 00:00:11 at 1001.66KiB/s [download] Destination: /sonarr_root/Fix for youtube-dl Unable to extract uploader id [Ghe058HpmMk].f251.webm [download] 100% of 1.45MiB in 00:00:01 at 1.17MiB/s [Merger] Merging formats into "/sonarr_root/Fix for youtube-dl Unable to extract uploader id [Ghe058HpmMk].webm" Deleting original file /sonarr_root/Fix for youtube-dl Unable to extract uploader id [Ghe058HpmMk].f303.webm (pass -k to keep) Deleting original file /sonarr_root/Fix for youtube-dl Unable to extract uploader id [Ghe058HpmMk].f251.webm (pass -k to keep) root@ce42168f54d6:/usr/local/bin#

Result when running sonarr-youtubedl as normal from the same docker container

WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U WARNING: [youtube:tab] Incomplete yt initial data received. Retrying (1/3)... WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U WARNING: [youtube:tab] Incomplete yt initial data received. Retrying (2/3)... WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U WARNING: [youtube:tab] Incomplete yt initial data received. Retrying (3/3)... WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U WARNING: [youtube:tab] Incomplete yt initial data received; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U. Giving up after 3 retries ERROR: [youtube:tab] UCgJRL30YS6XFxq9Ga8W2J3A: Playlists that require authentication may not extract correctly without a successful webpage download. If you are not downloading private content, or your cookies are only for the first account and channel, pass "--extractor-args youtubetab:skip=authcheck" to skip this check Traceback (most recent call last): File "/app/sonarr_youtubedl.py", line 441, in <module> main() File "/app/sonarr_youtubedl.py", line 435, in main client.download(series, episodes) File "/app/sonarr_youtubedl.py", line 363, in download found, dlurl = self.ytsearch(ydleps, url) File "/app/sonarr_youtubedl.py", line 336, in ytsearch if 'entries' in result and len(result['entries']) > 0: TypeError: argument of type 'NoneType' is not iterable

from sonarr_youtubedl.

SiraVista avatar SiraVista commented on August 16, 2024

This error still persists...

It even fails with the first youtube channel in the example "config.yml.template" file: Smarter Every Day.

As a test I uncommented these two lines:
# - title: Smarter Every Day
# url: https://www.youtube.com/channel/UC6107grRI4m0o2-emgoDnAA

And I got loads of errors in the log file like this:
2023-11-08 18:53:02,417 - sonarr_youtubedl - ERROR - Failed - Helicopter Physics Series - #4 They're Gyroscopes - ERROR: [youtube] prRTWThrotU: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U

Any one find an answer? @whatdaybob , can you address this?

Thanks

from sonarr_youtubedl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.