mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-05-02 21:34:24 +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):
|
def _extract_course_info(self, url):
|
||||||
global portal_name
|
global portal_name
|
||||||
course_id, portal_name = self._extract_subscription_course_info(url)
|
portal_name, course_name = self.extract_course_name(url)
|
||||||
course = self._extract_course_info_json(url, course_id, portal_name)
|
course = {"portal_name": portal_name}
|
||||||
|
|
||||||
|
course_id = self._extract_subscription_course_info(url)
|
||||||
|
course = self._extract_course_info_json(url, course_id)
|
||||||
|
|
||||||
if course:
|
if course:
|
||||||
return course.get("id"), course
|
return course.get("id"), course
|
||||||
|
Loading…
x
Reference in New Issue
Block a user