wolfswolke / aniworld_scraper

Aniworld.to mp4 scraper for animes.
MIT License
56 stars 15 forks source link

[BUG] VOE ERROR: 'NoneType' object has no attribute 'group' & Could not find cache url for VOE #55

Closed white-chestnut closed 2 months ago

white-chestnut commented 2 months ago

Describe the bug: I can not download anything using provider VOE (but Streamtape works) Tested both Aniworld and SerienStream

ERRORS:

Steps to Reproduce the bug:

Please select a download type:
 > Anime
   TV-show
   Quit

Please select the download mode:
 > Seasons
   Movies
   Quit

Please select a language:
 > German
   English
   GerSub
   Quit

Type in the name
example URL: https://aniworld.to/anime/stream/made-in-abyss/staffel-1
[made-in-abyss]
 > made-in-abyss

Please select a season:
 > All
   Custom
   Quit

Please select a provider:
 > VOE
   Streamtape
   Vidoza
   Quit

Expected behavior: Downloads like when using Streamtape

Screenshots: none

Logs:

2024-07-08 17:59:28 - DEBUG - src.constants - cli argument detected on position:1 with value:anime 
2024-07-08 17:59:28 - DEBUG - src.constants - cli argument detected on position:2 with value:made-in-abyss 
2024-07-08 17:59:28 - DEBUG - src.constants - cli argument detected on position:3 with value:Deutsch 
2024-07-08 17:59:28 - DEBUG - src.constants - cli argument detected on position:4 with value:series 
2024-07-08 17:59:28 - DEBUG - src.constants - cli argument detected on position:5 with value:0 
2024-07-08 17:59:28 - DEBUG - src.constants - cli argument detected on position:6 with value:VOE 
2024-07-08 17:59:28 - INFO - src.start_app - ------------- AnimeSerienScraper v01-10-00 started ------------ 
2024-07-08 17:59:28 - DEBUG - src.start_app - We have Read Permission 
2024-07-08 17:59:28 - DEBUG - src.start_app - We have Write Permission 
2024-07-08 17:59:28 - INFO - src.start_app - No Season override detected. 
2024-07-08 17:59:28 - DEBUG - src.logic.collect_all_seasons_and_episodes - Entered get_season. 
2024-07-08 17:59:28 - DEBUG - src.logic.collect_all_seasons_and_episodes - Site URL is: https://aniworld.to/anime/stream/made-in-abyss/ 
2024-07-08 17:59:29 - DEBUG - src.logic.collect_all_seasons_and_episodes - Now leaving Function get_season 
2024-07-08 17:59:29 - INFO - src.start_app - We have this many seasons: 2 
2024-07-08 17:59:31 - DEBUG - src.logic.collect_all_seasons_and_episodes - Entered get_episodes 
2024-07-08 17:59:32 - DEBUG - src.logic.collect_all_seasons_and_episodes - Now leaving Function get_episodes 
2024-07-08 17:59:32 - INFO - src.start_app - Season 1 has 13 Episodes. 
2024-07-08 17:59:32 - INFO - src.start_app - File name will be: /media/usr/drive/anime/made-in-abyss_(2013)/Season 01/made-in-abyss - s01e01 - Deutsch.mp4 
2024-07-08 17:59:32 - DEBUG - src.logic.downloader - File not downloaded. Downloading: /media/usr/drive/anime/made-in-abyss_(2013)/Season 01/made-in-abyss - s01e01 - Deutsch.mp4 
2024-07-08 17:59:32 - DEBUG - src.logic.language - Language mapping: {'German': '1', 'Deutsch': '1', 'mit Untertitel Deutsch': '3', 'Ger-Sub': '3', 'Deutscher Untertitel': '3'} 
2024-07-08 17:59:32 - DEBUG - src.logic.language - Given language: Deutsch 
2024-07-08 17:59:32 - DEBUG - src.logic.search_for_links - Link to redirect is: https://aniworld.to/redirect/1798416 
2024-07-08 17:59:32 - DEBUG - src.start_app - Entered DDOS var check and starting new downloader. 
2024-07-08 17:59:32 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-07-08 17:59:33 - ERROR - src.logic.search_for_links - ERROR: 'NoneType' object has no attribute 'group' 
2024-07-08 17:59:33 - INFO - src.logic.search_for_links - Trying again... 
2024-07-08 17:59:33 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-07-08 17:59:34 - ERROR - src.logic.search_for_links - ERROR: 'NoneType' object has no attribute 'group' 
2024-07-08 17:59:34 - INFO - src.logic.search_for_links - Trying again... 
2024-07-08 17:59:34 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-07-08 17:59:34 - ERROR - src.logic.search_for_links - ERROR: 'NoneType' object has no attribute 'group' 
2024-07-08 17:59:34 - INFO - src.logic.search_for_links - Trying again... 
2024-07-08 17:59:34 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-07-08 17:59:35 - ERROR - src.logic.search_for_links - ERROR: 'NoneType' object has no attribute 'group' 
2024-07-08 17:59:35 - INFO - src.logic.search_for_links - Trying again... 
2024-07-08 17:59:35 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-07-08 17:59:36 - ERROR - src.logic.search_for_links - ERROR: 'NoneType' object has no attribute 'group' 
2024-07-08 17:59:36 - INFO - src.logic.search_for_links - Trying again... 
2024-07-08 17:59:36 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-07-08 17:59:37 - ERROR - src.logic.search_for_links - ERROR: 'NoneType' object has no attribute 'group' 
2024-07-08 17:59:37 - INFO - src.logic.search_for_links - Trying again... 
2024-07-08 17:59:37 - ERROR - src.logic.search_for_links - Could not find cache url for VOE. 
2024-07-08 17:59:37 - ERROR - src.start_app - Could not find cache url for VOE on 1, 1. 
2024-07-08 17:59:37 - INFO - src.start_app - File name will be: /media/usr/drive/anime/made-in-abyss_(2013)/Season 01/made-in-abyss - s01e02 - Deutsch.mp4 
2024-07-08 17:59:37 - DEBUG - src.logic.downloader - File not downloaded. Downloading: /media/usr/drive/anime/made-in-abyss_(2013)/Season 01/made-in-abyss - s01e02 - Deutsch.mp4 
2024-07-08 17:59:37 - DEBUG - src.logic.language - Language mapping: {'German': '1', 'Deutsch': '1', 'mit Untertitel Deutsch': '3', 'Ger-Sub': '3', 'Deutscher Untertitel': '3'} 
2024-07-08 17:59:37 - DEBUG - src.logic.language - Given language: Deutsch 
2024-07-08 17:59:37 - DEBUG - src.logic.search_for_links - Link to redirect is: https://aniworld.to/redirect/1798412 
2024-07-08 17:59:37 - DEBUG - src.start_app - Entered DDOS var check and starting new downloader. 
2024-07-08 17:59:37 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-07-08 17:59:38 - ERROR - src.logic.search_for_links - ERROR: 'NoneType' object has no attribute 'group' 
2024-07-08 17:59:38 - INFO - src.logic.search_for_links - Trying again... 
2024-07-08 17:59:38 - ERROR - src.logic.search_for_links - Could not find cache url for VOE. 
2024-07-08 17:59:38 - ERROR - src.start_app - Could not find cache url for VOE on 1, 2. 
2024-07-08 17:59:38 - INFO - src.start_app - File name will be: /media/usr/drive/anime/made-in-abyss_(2013)/Season 01/made-in-abyss - s01e03 - Deutsch.mp4 
...

Additional Info:

wolfswolke commented 2 months ago

@white-chestnut Probably VOE updated theyr stuff again to make it harder to scrape. Its the 6th time if im not wrong where they changed stuff like regex etc. Ill look into it

wolfswolke commented 2 months ago

@white-chestnut Fixed. Please try again with the latest commit and if it works for you as well ill make a new release.

white-chestnut commented 2 months ago

Thank you very much, now it works like a charm.

white-chestnut commented 2 months ago

BTW: Do you take donations?