Skip to content

Commit

Permalink
updated 9anime to aniwave
Browse files Browse the repository at this point in the history
  • Loading branch information
Wamy-Dev committed Aug 2, 2023
1 parent 70cb467 commit e027d30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ Yes! You can view the documentation [here](https://docs.rakun.app). There are ot
- [x] Animepahe
- [x] Gogoanime
- [x] Kato
- [x] 9Anime
- [x] Aniwave (previously 9anime)
- [x] Yugen
- [x] Aniwatch
- [x] Aniwatch (previously Zoro)
- [x] Marin [using MalSyncBackup](https://github.com/MALSync/MAL-Sync-Backup/tree/master/data/pages/Marin)
- [ ] KickAssAnimes

Expand All @@ -43,7 +43,7 @@ Yes! You can view the documentation [here](https://docs.rakun.app). There are ot
### Current Sources (Manga):
- [x] MangaDex [using MalSyncBackup](https://github.com/MALSync/MAL-Sync-Backup/tree/master/data/pages/Mangadex)
- [x] Comick
- [x] MangaReader
- [x] MangaReader x
- [x] MangaFox
- [x] Bato
- [x] Serimanga
Expand Down
8 changes: 4 additions & 4 deletions scraper/scrapers/spiders/nineanime.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

class NineanimeSpider(scrapy.Spider):
name = 'nineanime'
allowed_domains = ['9anime.to', "9anime.se"]
start_urls = ['https://9anime.to/az-list']
allowed_domains = ['9anime.to', "9anime.se", "aniwave.to"]
start_urls = ['https://aniwave.to/az-list']
custom_settings = {
"ANIMEPIPELINE_ENABLED": True,
}
Expand All @@ -16,13 +16,13 @@ def parse(self, response):
if totalPages and currentPage:
if int(currentPage) == 1:
for pageNumber in range(2, int(totalPages) + 1):
yield scrapy.Request(f"https://9anime.to/az-list?page={pageNumber}")
yield scrapy.Request(f"https://aniwave.to/az-list?page={pageNumber}")
animeList = response.css("div#list-items div.item div.b1")
animeItem = ScrapersItem()
for anime in animeList:
title = anime.css("a.name ::text").get()
link = anime.css("a.name").attrib["href"]
animeItem["title"] = title
animeItem["link"] = {"9Anime":f"https://9anime.to{link}"}
animeItem["link"] = {"Aniwave":f"https://aniwave.to{link}"}
animeItem["type"] = "Anime"
yield animeItem

0 comments on commit e027d30

Please sign in to comment.