aandrew-me / ytDownloader

A modern GUI App for downloading Videos and Audios from hundreds of sites
https://ytdn.netlify.app/
GNU General Public License v3.0
1.07k stars 96 forks source link

[BUG] bug in playlist range function #119

Closed soredake closed 1 year ago

soredake commented 1 year ago

Bug Description Tested with playlist https://www.youtube.com/playlist?list=PLNu0CXJQy5DBk_ca7C7YOZUFC8XzIYuQf

When i select range 8-8 ytdownloader will download video with index 7 which is invalid.

To Reproduce Steps to reproduce the behavior:

  1. Try to download playlist range
  2. ytdownloader will downloader will download selected index - 1 instead

Screenshots If applicable, add screenshots to help explain your problem.

Info (please complete the following information):

aandrew-me commented 1 year ago

I analyzed and noticed one thing. When I tried to download with range 5-5 I got an error

WARNING: [youtube:tab] YouTube said: INFO - 1 unavailable video is hidden
ERROR: [youtube] JdKmXxwF2B4: Private video. Sign in if you've been granted access to this video

Then I tried with cookies and got this error

WARNING: [youtube:tab] YouTube said: INFO - 1 unavailable video is hidden
ERROR: [youtube] JdKmXxwF2B4: Video unavailable. This video is private

So this is not a bug with the app.

soredake commented 1 year ago

@aandrew-me can ytdownloader somehow ignore this unavailable videos? Seal for example can do this when displaying playlist items to download.

aandrew-me commented 1 year ago

ytDownloader will ignore this video when downloading. All ytDownloader does is pass the options to yt-dlp. The rest is upto yt-dlp.

Moreover I tried downloading a video from the playlist Seal and I kept getting an error message - Couldn't Fetch

aandrew-me commented 1 year ago

I was happy to see such an app for Android, but I am getting strange errors :( Screenshot_20230309-202541_Seal

soredake commented 1 year ago

@aandrew-me you're on 1.8.3? Try updating yt-dlp inside app.

aandrew-me commented 1 year ago

Oh ok wonderful its working. However it stopped downloading the video after some time.

But yeah. I see, it handles playlists in a different way and I like it. But for now I don't know how to do that. So if I can I will do it in future. As of now, I can't do much. However it should be fine with other playlists

aandrew-me commented 1 year ago

I have found out how to do it. So I am working on it, it will take some time though. You can help me with testing if you can. I have Windows 10 in VM, but not Windows 11.

aandrew-me commented 1 year ago

@soredake If you have telegram, you can message me here https://t.me/aandrew_me