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

Update the requirements for youtube-dl to avoid Unable to extract uploader id #416

Closed
lsolesen opened this issue May 1, 2023 · 2 comments · Fixed by #417
Closed

Update the requirements for youtube-dl to avoid Unable to extract uploader id #416

lsolesen opened this issue May 1, 2023 · 2 comments · Fixed by #417

Comments

@lsolesen
Copy link
Contributor

lsolesen commented May 1, 2023

  • ricecooker version: 0.7.1
  • Python version: 3.8
  • Operating System: Ubuntu

Description

What I Did

I am trying to make a script to add Youtube videoes to a channel. However, I run into the following problems.

ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Trying to update youtube-dl with the following command, as that version is supposed to work:

pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git

However, it is not possible to upgrade, because of this:

pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git
Collecting git+https://github.com/ytdl-org/youtube-dl.git
  Cloning https://github.com/ytdl-org/youtube-dl.git to /tmp/pip-req-build-5tnd4h63
  Running command git clone -q https://github.com/ytdl-org/youtube-dl.git /tmp/pip-req-build-5tnd4h63
Building wheels for collected packages: youtube-dl
  Building wheel for youtube-dl (setup.py) ... done
  Created wheel for youtube-dl: filename=youtube_dl-2021.12.17-py2.py3-none-any.whl size=1921008 sha256=93dc2979efc418369a067ee9e1afada4570ca57a8ac3a41bec1cffc1f873b358
  Stored in directory: /tmp/pip-ephem-wheel-cache-p7qmivvw/wheels/d5/e5/52/984325a3672413d04a10ecef705b2f24e04806e6b1eb7a9220
Successfully built youtube-dl
ERROR: ricecooker 0.7.1 has requirement yt-dlp==2022.03.08.1, but you'll have yt-dlp 2023.3.4 which is incompatible.
Installing collected packages: youtube-dl
  Attempting uninstall: youtube-dl
    Found existing installation: youtube-dl 2021.12.17
    Uninstalling youtube-dl-2021.12.17:
      Successfully uninstalled youtube-dl-2021.12.17
  WARNING: The script youtube-dl is installed in '/home/lsolesen/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed youtube-dl-2021.12.17
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
@rtibbles
Copy link
Member

rtibbles commented May 1, 2023

Hi @lsolesen - thanks for the report, keeping youtube-dl up to date has had some pitfalls because it wasn't updated for a while so we switched to the yt-dlp fork. I'll look into the most recent updates and see if this is straight forward.

@rtibbles
Copy link
Member

rtibbles commented May 3, 2023

This fix should now be in the most recent release https://github.com/learningequality/ricecooker/releases/tag/v0.7.2 which should shortly be on PyPi.

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

Successfully merging a pull request may close this issue.

2 participants