Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions IMDBAPI/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def parseHTML(soup, ele, idType, idValue):
try:
return soup.find( ele, {idType:idValue})
except Exception:
print("Sorry an error accured cant get data extracted")
print("Sorry an error occurred cant get data extracted")
return ""

def getIdFromName(title):
Expand All @@ -142,7 +142,7 @@ def getIdFromName(title):
IMDB.currentSearchTitle = movie.text;
return movie['href'].split('/')[2]
except Exception:
print("Sorry an error accured cant get data extracted")
print("Sorry an error occurred cant get data extracted")

return ""

Expand Down