mirror of
https://github.com/karl0ss/GoGoDownloader.git
synced 2025-04-26 03:29:23 +01:00
handle special characters in show name
This commit is contained in:
parent
7c4a569678
commit
ee82a26e76
@ -233,8 +233,9 @@ class gogoanime:
|
||||
else:
|
||||
fullRow = fullRow.replace("Status ", "")
|
||||
splitRow = fullRow.split("Latest")
|
||||
animeName = splitRow[0].strip()
|
||||
animeDownloadName = animeName.replace(":", "").replace(" ", "-").lower()
|
||||
animeName = splitRow[0].strip().encode("ascii", "ignore").decode()
|
||||
animeName = re.sub("[^A-Za-z0-9 ]+", "", animeName)
|
||||
animeDownloadName = animeName.replace(" ", "-").lower()
|
||||
episodeNum = splitRow[-1].split()[-1]
|
||||
bookmarkList.append(
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user