Skip to content

Commit

Permalink
fix: python 3.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Zehina committed Sep 24, 2021
1 parent 4a8e6a6 commit f4a5fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webtoon_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def get_chapter_viewer_url(html: Union[str, BeautifulSoup]) -> str:
else:
raise TypeError('variable passed is neither a string nor a BeautifulSoup object')

def get_img_urls(session: requests.session, viewer_url: str, chapter_number: int) -> list[str]:
def get_img_urls(session: requests.session, viewer_url: str, chapter_number: int) -> list:
'''
Extracts the url of all images of a given chapter of the series.
Expand Down

0 comments on commit f4a5fc0

Please sign in to comment.