techtanic / Discounted-Udemy-Course-Enroller

A script/software for automatically enrolling/joining 100% discounted Udemy courses for free. Get Paid Udemy courses for free with just a few clicks.
https://duce.techtanic.space
MIT License
785 stars 227 forks source link

[Bug]: Error In 1.8 Version #134

Closed TareqAbAmawi closed 1 year ago

TareqAbAmawi commented 1 year ago

What happened?

2023-01-12 02_45_16-Greenshot

Enroller

GUI

OS

Windows

Relevant log output

Traceback (most recent call last):
  File "gui.py", line 76, in scrape
  File "base.py", line 690, in enrol
    course_id, self.link = self.get_course_id(self.link)
  File "base.py", line 364, in get_course_id
    soup.find("meta", {"itemprop": "image"})["content"]
TypeError: 'NoneType' object is not subscriptable

https://www.udemy.com/course/hands-on-sql-servermanagementstudiosql-queriesazurestudio/?couponCode=90E3A5C49B8BFE69B2B1
Hands-On SQL Server,ManagementStudio,SQL Queries,AzureStudio

Terms

TareqAbAmawi commented 1 year ago

Update 30_1_2023 :

Traceback (most recent call last): File "urllib3\connectionpool.py", line 449, in _make_request File "", line 3, in raise_from File "urllib3\connectionpool.py", line 444, in _make_request File "http\client.py", line 1374, in getresponse File "http\client.py", line 318, in begin File "http\client.py", line 279, in _read_status File "socket.py", line 705, in readinto File "ssl.py", line 1274, in recv_into File "ssl.py", line 1130, in read TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "requests\adapters.py", line 489, in send File "urllib3\connectionpool.py", line 787, in urlopen File "urllib3\util\retry.py", line 550, in increment File "urllib3\packages\six.py", line 770, in reraise File "urllib3\connectionpool.py", line 703, in urlopen File "urllib3\connectionpool.py", line 451, in _make_request File "urllib3\connectionpool.py", line 340, in _raise_timeout urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.real.discount', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "base.py", line 188, in rd r = requests.get( File "requests\api.py", line 73, in get File "requests\api.py", line 59, in request File "requests\sessions.py", line 587, in request File "requests\sessions.py", line 701, in send File "requests\adapters.py", line 578, in send requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='www.real.discount', port=443): Read timed out. (read timeout=5)

techtanic commented 1 year ago

Will be fixed in the next release

Hadj-Said-Bouras commented 1 year ago

the background says something interesting