-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
When I try to open an MPD file from an HTTPS link, urlopen throws the following error:
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1007)>
parse.py:16
I would suggest the following changes in parse.py:
def parse(cls, string_or_url) -> **def parse(cls, string_or_url, verifiySSL=false):**
def load_xmldom(cls, string_or_url) -> def load_xmldom(cls, string_or_url, verifiySSL)
...
mpd_string = urlopen(string_or_url).read() -> requests.get(string_or_url, verify=verifiySSL)
....
Metadata
Metadata
Assignees
Labels
No labels