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