mirror of
https://github.com/karl0ss/GoGoDownloader.git
synced 2025-04-26 11:39:22 +01:00
Update backend.py
This commit is contained in:
parent
ecebb4b7c0
commit
5f46810de6
@ -71,14 +71,14 @@ class Download:
|
||||
|
||||
def get_links(self, source=None):
|
||||
if source is not None:
|
||||
source_ep = f"https://gogoanime.pe/{self.name}-episode-"
|
||||
source_ep = f"https://gogoanime.wiki/{self.name}-episode-"
|
||||
episode_links = [
|
||||
f"{source_ep}{i}"
|
||||
for i in range(self.episode_start, self.episode_end + 1)
|
||||
]
|
||||
episode_links.insert(0, source)
|
||||
else:
|
||||
source_ep = f"https://gogoanime.pe/{self.name}-episode-"
|
||||
source_ep = f"https://gogoanime.wiki/{self.name}-episode-"
|
||||
episode_links = [
|
||||
f"{source_ep}{i}"
|
||||
for i in range(self.episode_start, self.episode_end + 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user