mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-04-30 02:14:25 +02:00
bug fix
This commit is contained in:
parent
e5450b6f85
commit
fdf8cde414
7
main.py
7
main.py
@ -877,8 +877,11 @@ class Udemy:
|
||||
|
||||
def _extract_course_info(self, url):
|
||||
global portal_name
|
||||
course_id, portal_name = self._extract_subscription_course_info(url)
|
||||
course = self._extract_course_info_json(url, course_id, portal_name)
|
||||
portal_name, course_name = self.extract_course_name(url)
|
||||
course = {"portal_name": portal_name}
|
||||
|
||||
course_id = self._extract_subscription_course_info(url)
|
||||
course = self._extract_course_info_json(url, course_id)
|
||||
|
||||
if course:
|
||||
return course.get("id"), course
|
||||
|
Loading…
x
Reference in New Issue
Block a user