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

Youtube downloads seems to be file-conflicting between extensions #100

Open
Sphirye opened this issue Mar 3, 2023 · 1 comment
Open
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@Sphirye
Copy link

Sphirye commented Mar 3, 2023

I locally mounted this bot to test it before pushing to a VPS, it seems like the bot is not successfully getting files as the wanted extension.

For instance, i've tried dowloading this video [ https://www.youtube.com/watch?v=snTo1SZC4l4 ] as a .mp3 in the hightest quality, this happened:

https://pastebin.com/KFY51ed2

These logs shows how theres isnt a .mp3 in the given directory (line 52):

FileNotFoundError: [Errno 2] No such file or directory: './DOWNLOADS/1188403504RGxuJ/New Serena - Yakuza 4 (Extended)_320k.mp3'

However, when entering into the docker container and looking for it, the given folder actually contains a .webm:

root@82a07730ecbb:/DOWNLOADS/1188403504RGxuJ# ls
'New Serena - Yakuza 4 (Extended)_320k.webm'

(Plus: It successfully downloads as a video when choosing a .webm option, but after trying with other videos it seems to varies like this other one https://www.youtube.com/watch?v=dILwncYeLzs who downloads a .mkv)

@Sphirye Sphirye added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Mar 3, 2023
@kalanakt
Copy link
Owner

kalanakt commented Mar 4, 2023

Hi Sphirye,

Thank you for reporting this issue. It seems like there is an issue with the bot not successfully downloading files with the desired extension.

Based on the logs provided, it looks like the bot is attempting to download a .mp3 file, but it is not able to find it in the specified directory. Instead, it finds a .webm file in the directory. This issue seems to vary for different videos and sometimes downloads a different file type than what was specified.

I'm Looking forward to fixing that issue. If you need further assistance, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants