Owez / yark

YouTube archiving made simple.

Home Page:https://pypi.org/project/yark/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues at some point on yark refresh

obar1 opened this issue · comments

commented

issues at some point like so

• Downloaded z1MHwmEMlSM
  • Downloaded aUgXtcViNiM
  • Downloaded TXyV9LXHd1A
  • Downloaded RLK2-VKis_E
  • Downloaded MhOdjXw0RYc
  • Downloaded E0DcXPiT-kQ
  • Downloaded x27iRMCs-8s
  • Downloaded km0TDrOc_bI
  • Downloaded QlYrrUd1itg
  • Downloaded 3AtgOpGrRB8
  • Downloaded 393cVYuLIpA
  • Downloaded -w4WSrJnUxE
  • Downloaded kOYpFQyGSdU
  • Downloading aSuBo0f0qrI, at 1.4%..
  • Unknown error whilst downloading videos, details below:
[download] Got error: Downloaded 371030 bytes, expected 25833419 bytes, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found
  • Sorry, failed to download {name}
Please file a bug report if you think this is a problem with Yark!
(base) ➜  yark open aledio/
  • tried to cleanup all and restart

  • json to reproduce the error

{"version": 3, "url": "https://www.youtube.com/channel/UCNVcrZ1p3j7aCfdm_j9l_tA", "videos": [], "livestreams": [], "shorts": []}

Are you on the most recent version of Yark (1.2.3)? Try running pip3 install yark --upgrade and then run yark refresh aledio --skip-metadata and see if you get the same result.


I've not seen the 404: Not Found error accompanying the general Downloaded 371030 bytes, expected 25833419 bytes yet which is odd, it looks like the video is deleted but yt-dlp isn't giving the us error the first time.

I couldn't reproduce using the version from the master branch of the repo which should be the same as 1.2.3 for the downloading process:

image

commented

ok I will try

 • Downloaded QlYrrUd1itg
  • Downloaded 3AtgOpGrRB8
  • Downloaded 393cVYuLIpA
  • Downloaded -w4WSrJnUxE
  • Downloaded kOYpFQyGSdU
  • Downloading aSuBo0f0qrI, at 1.4%..
  • Unknown error whilst downloading videos, details below:
[download] Got error: Downloaded 371030 bytes, expected 25833419 bytes, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found
  • Sorry, failed to download {name}
Please file a bug report if you think this is a problem with Yark!
(base) ➜  yark open aledio
(base) ➜  yark yark refresh aledio
Loading aledio channel..
Downloading metadata..
Parsing video metadata..
Parsing livestream metadata..
Parsing shorts metadata..
Cleaning out previous temporary files..
Downloading 146 new videos..
  • Downloading aSuBo0f0qrI, at 1.4%..
  • Unknown error whilst downloading videos, details below:
[download] Got error: Downloaded 371030 bytes, expected 25833419 bytes, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found, retrying in a few seconds..
  • Unknown error whilst downloading videos, details below:
ERROR: unable to download video data: HTTP Error 404: Not Found
  • Sorry, failed to download {name}
Please file a bug report if you think this is a problem with Yark!
(base) ➜  yark

after

Installing collected packages: yark
  Attempting uninstall: yark
    Found existing installation: yark 1.2.0
    Uninstalling yark-1.2.0:
      Successfully uninstalled yark-1.2.0
Successfully installed yark-1.2.3

I have to subscribe to your updates :) thanks! @Owez

No problem, glad it worked :)