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

Unable to download even with VPN #13

Open
lambos11 opened this issue Feb 10, 2024 · 3 comments
Open

Unable to download even with VPN #13

lambos11 opened this issue Feb 10, 2024 · 3 comments

Comments

@lambos11
Copy link

Hi!

I've tried to modify the code and add the URL of my own country, but it didn't work, so i tried a VPN and even though https://southparkstudios.com/ redirected me to southpark.de, the download still failed.
I tried with both default (English) and -D. I also tried to download directly from yt-dlp and the download failed.
./southpark-downloader.sh -D -s 5 -e 1
-e \e[1;31m>>> Your region is on . You need to be in Germany (southpark.de) for German episodes. If you don't want to buy a plane ticket to Germany, you can also use a VPN.\e[m

./southpark-downloader.sh -d -s 5 -e 1
-e \e[33m>>> Your region is on , which is currently unknown. Please open an issue on GitHub. If the program doesn't work, you can try to VPN into Germany.\e[m
-ne \e[32m>>> Updating episode index\e[m

With yt-dlp using my own country URL i get:
[generic] Extracting URL: https://www.southparkstudios.com.br/episodios/940f8z/south-park-cartman-ganha-uma-sonda-anal-temporada-1-ep-1
[generic] south-park-cartman-ganha-uma-sonda-anal-temporada-1-ep-1: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] south-park-cartman-ganha-uma-sonda-anal-temporada-1-ep-1: Extracting information
ERROR: Unsupported URL: https://www.southparkstudios.com.br/episodios/940f8z/south-park-cartman-ganha-uma-sonda-anal-temporada-1-ep-1

Any help would be appreciated.

@xypwn
Copy link
Owner

xypwn commented Feb 11, 2024

Hi,

I'm afraid South Park Brazil is simply not supported by yt-dlp at the moment, which is pretty much out of my hands. Apart from it not working, I couldn't find any references to southpark.com.br in the source code either.

However, I don't see why downloading via a VPN failed. Could you give me some more info on that?

While it's unlikely that this project will ever support SP Brazil, I might add support to my own downloader implementation in my GUI app https://github.com/xypwn/southpark-downloader-ui. You can open an issue there and I will get to implementing/testing it when I have the time.

@lambos11
Copy link
Author

Hi,

I'm afraid South Park Brazil is simply not supported by yt-dlp at the moment, which is pretty much out of my hands. Apart from it not working, I couldn't find any references to southpark.com.br in the source code either.

However, I don't see why downloading via a VPN failed. Could you give me some more info on that?

While it's unlikely that this project will ever support SP Brazil, I might add support to my own downloader implementation in my GUI app https://github.com/xypwn/southpark-downloader-ui. You can open an issue there and I will get to implementing/testing it when I have the time.

Oh, i thought since south park websites were all similar yt-dlp would work, my bad.

About the VPN, the only info i can give is:

  • I tried a free VPN, TunnelBear
  • I did everything just like the readme says
  • One thing i noticed is that even though whatismyipaddress.com/ said i was in Germany, every time i tried to acess southparkstudios.com or southpark.de on Chrome, i was redirected to southparkstudios.com.br and not .de. When i tried in incognito mode, both southparkstudios.com and southpark.de worked, so maybe it was just a cache problem. Perhaps the same thing was happening during the script.

@xypwn
Copy link
Owner

xypwn commented Feb 16, 2024

No problem :) SP websites are similar, but the way yt-dlp handles websites is by looking at their URL, so while it might be pretty straightforward to implement support for Brazil, nobody seems to have done it. Of course you can always open an issue with yt-dlp.

Caching is definitely possible. You could simply restarting or flushing your DNS cache before accessing an SP domain.

Also, if you want to, you can try https://github.com/xypwn/southpark-downloader-ui, where I tested the different regions myself using a VPN. All I had to do was restart the application after choosing a new location, and it worked flawlessly for me.

Let me know if it worked!

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

No branches or pull requests

2 participants