iTaybb / pySmartDL

A Smart Download Manager for Python
The Unlicense
194 stars 57 forks source link

403 error #15

Open edwardsdean opened 7 years ago

edwardsdean commented 7 years ago

The url from this website doesnt work in pySmarDL, but will downlaod in the browser and in other download managers. https://9xbud.com/https://openload.co/f/B1avsUR3ZQE/%5BHorribleSubs%5D_Ao_no_Exorcist_-_Kyoto_Fujouou-hen_-_01_%5B720p%5D-r964-rh-173.mp4 (the Download Now button)

[WARNING] Server does not support HTTPRange. threads_count is set to 1. [INFO] Creating a ThreadPool of 1 thread(s). [INFO] One URL is loaded. [INFO] Downloading 'http://s01.9xbuddy.com/down/aHR0cHM6Ly9vcGVubG9hZC5jby9zdHJlYW0vQjFhdnNVUjNaUUV-MTQ5MTk3NDM5M34xNjMuMTcyLjAuMH5sd1ctVFJ3UD9taW1lPXRydWU%2C/96947a5224fed79b4e7de91d9aab980e-1491902395' to 'C:\Users\edwar\AppData\Local\Temp\pySmartDL\96947a5224fed79b4e7de91d9aab980e-1491902395'... [WARNING] HTTP Error 403: Forbidden Traceback (most recent call last): File "C:/Users/edwar/Downloads/python_test/test pydownload 9xbuddy.py", line 15, in <module> dl.start() File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pySmartDL\pySmartDL.py", line 250, in start urlObj = urllib.request.urlopen(req, timeout=self.timeout) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 163, in urlopen return opener.open(url, data, timeout) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 472, in open response = meth(req, response) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 582, in http_response 'http', request, response, code, msg, hdrs) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 504, in error result = self._call_chain(*args) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 444, in _call_chain result = func(*args) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 696, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 472, in open response = meth(req, response) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 582, in http_response 'http', request, response, code, msg, hdrs) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 510, in error return self._call_chain(*args) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 444, in _call_chain result = func(*args) File "C:\Users\edwar\AppData\Local\Programs\Python\Python35-32\lib\urllib\request.py", line 590, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: Forbidden