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

Ssl error #81

Open
HildingL opened this issue Dec 17, 2024 · 3 comments
Open

Ssl error #81

HildingL opened this issue Dec 17, 2024 · 3 comments
Assignees

Comments

@HildingL
Copy link

Describe the bug
I get a ssl error when trying to download a podcast. The same config works on another conputer on another network.
Error:
C:\Windows\system32>python -m podcast_downloader [←[2m2024-12-17 16:28:07←[0m] Loading configuration (from file: "←[97m~/.podcast_downloader_config.json←[0m") [←[2m2024-12-17 16:28:07←[0m] ←[31mError:←[0m Error while checking the link: 'https://access.acast.com/rss/9760d2f2-0092-402b-b106-377cd9e8630e/default': <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Basic Constraints of CA cert not marked critical (_ssl.c:1018)> [←[2m2024-12-17 16:28:07←[0m] Finished
Config:
{ "if_directory_empty": "download_all_from_feed", "podcasts": [ { "name": "Fråga Anders och Måns", "rss_link": "https://access.acast.com/rss/9760d2f2-0092-402b-b106-377cd9e8630e/default", "path": "~/podcasts/faom", "file_name_template": "%title%.%file_extension%" } ] }

Desktop (please complete the following information):

@dplocki
Copy link
Owner

dplocki commented Dec 19, 2024

Hi. I will add the options to allow ignoring such conditions. To be honest this seems to be a problem with certificate file itself. On the other side, only Python libraries seems to have a problem with it (the ssl validation sites are accepting those certs).

@dplocki
Copy link
Owner

dplocki commented Dec 19, 2024

Hi, me again, I have run the script with your config, seems to work, maybe the server owner checked their certificates.

[2024-12-19 21:08:10] Checking "Fråga Anders och Måns"
[2024-12-19 21:08:10] Last downloaded file "<none>"
[2024-12-19 21:08:10] Fråga Anders och Måns: Downloading file: "https://sphinx.acast.com/fraga-anders-och-mans/hemligaljudet/media.mp3?tk=eyJ0ayI6ImRlZmF1bHQiLCJhZHMiOnRydWUsInNwb25zIjp0cnVlLCJzdGF0dXMiOiJwdWJsaWMifQ==&sig=y8DneljZcoy8uD77GCHXPuBI7k5O7b-TeOseEzCcotI" saved as "Hemliga ljudet.mp3"
[2024-12-19 21:08:12] Fråga Anders och Måns: Downloading file: "https://sphinx.acast.com/fraga-anders-och-mans/avsnitt1-ettalarmsomberattarattmanharagg/media.mp3?tk=eyJ0ayI6ImRlZmF1bHQiLCJhZHMiOnRydWUsInNwb25zIjp0cnVlLCJzdGF0dXMiOiJwdWJsaWMifQ==&sig=hlfta3LKm_ZZed9PG-zGDnmTw0ebwXg7CagAd4a8blg" saved as "Avsnitt 1  Ett alarm som berättar att man har ägg.mp3"

But I will probably implement the option for the downloading.

@HildingL
Copy link
Author

Hmm okay. I will try to remove and reinstall the module tomorrow and see if that works.

/Hilding

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