Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
updated code quality for matching course name/id ...
Browse files Browse the repository at this point in the history
  • Loading branch information
r0oth3x49 committed Oct 4, 2019
1 parent e40e264 commit 07609d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions udemy/_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def __extract_course(self, response, course_name):
published_title = entry.get('published_title')
if course_name in (published_title, course_id):
_temp = entry
break
return _temp

def _extract_course_info(self, url):
Expand Down

0 comments on commit 07609d9

Please sign in to comment.