wolfswolke / aniworld_scraper

Aniworld.to mp4 scraper for animes.
MIT License
59 stars 17 forks source link

[BUG] s.to: VOE: Could not find cache url #67

Open white-chestnut opened 2 months ago

white-chestnut commented 2 months ago

Describe the bug: I can not download anymore from s.to using VOE. However aniworld.to works just fine. Maybe s.to changed their logic regarding redirects?

Steps to Reproduce the bug:

./run.sh 
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]
 > futurama

Please select a season:
 > All
   Custom
   Quit

Please select a provider:
 > VOE
   Streamtape
   Vidoza
   Quit

Expected behavior: Should download like for aniworld.to.

Screenshots: n/a

Logs:

2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:1 with value:serie 
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:2 with value:futurama 
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:3 with value:Deutsch 
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:4 with value:series 
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:5 with value:0 
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:6 with value:VOE 
2024-09-05 09:59:57 - INFO - src.start_app - ------------- AnimeSerienScraper v01-10-00 started ------------ 
2024-09-05 09:59:57 - DEBUG - src.start_app - We have Read Permission 
2024-09-05 09:59:57 - DEBUG - src.start_app - We have Write Permission 
2024-09-05 09:59:57 - INFO - src.start_app - No Season override detected. 
2024-09-05 09:59:57 - DEBUG - src.logic.collect_all_seasons_and_episodes - Entered get_season. 
2024-09-05 09:59:57 - DEBUG - src.logic.collect_all_seasons_and_episodes - Site URL is: https://s.to/serie/stream/futurama/ 
2024-09-05 09:59:58 - DEBUG - src.logic.collect_all_seasons_and_episodes - Now leaving Function get_season 
2024-09-05 09:59:58 - INFO - src.start_app - We have this many seasons: 9 
2024-09-05 09:59:58 - DEBUG - src.logic.collect_all_seasons_and_episodes - Entered get_episodes 
2024-09-05 09:59:59 - DEBUG - src.logic.collect_all_seasons_and_episodes - Now leaving Function get_episodes 
2024-09-05 09:59:59 - INFO - src.start_app - Season 1 has 9 Episodes. 
2024-09-05 09:59:59 - INFO - src.start_app - File name will be: output/serie/futurama_(1998)/Season 01/futurama - s01e01 - Deutsch.mp4 
2024-09-05 09:59:59 - DEBUG - src.logic.downloader - File not downloaded. Downloading: output/serie/futurama_(1998)/Season 01/futurama - s01e01 - Deutsch.mp4 
2024-09-05 09:59:59 - DEBUG - src.logic.language - Restructured language mapping: {'German': '1', 'Deutsch': '1', 'Englische Sprache': '2', 'English': '2', 'Englisch': '2'} 
2024-09-05 09:59:59 - DEBUG - src.logic.language - Language mapping: {'German': '1', 'Deutsch': '1', 'Englische Sprache': '2', 'English': '2', 'Englisch': '2'} 
2024-09-05 09:59:59 - DEBUG - src.logic.language - Given language: Deutsch 
2024-09-05 09:59:59 - DEBUG - src.logic.search_for_links - Link to redirect is: https://s.to/redirect/14117896 
2024-09-05 09:59:59 - DEBUG - src.start_app - Entered DDOS var check and starting new downloader. 
2024-09-05 09:59:59 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-09-05 09:59:59 - INFO - src.logic.search_for_links - Found window.location.href. Redirecting... 
2024-09-05 09:59:59 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-09-05 10:00:00 - ERROR - src.logic.search_for_links - Could not find cache url for VOE. 
2024-09-05 10:00:00 - ERROR - src.start_app - Could not find cache url for VOE on 1, 1. 
2024-09-05 10:00:00 - INFO - src.start_app - File name will be: output/serie/futurama_(1998)/Season 01/futurama - s01e02 - Deutsch.mp4 
2024-09-05 10:00:00 - DEBUG - src.logic.downloader - File not downloaded. Downloading: output/serie/futurama_(1998)/Season 01/futurama - s01e02 - Deutsch.mp4 
2024-09-05 10:00:00 - DEBUG - src.logic.language - Restructured language mapping: {'German': '1', 'Deutsch': '1', 'Englische Sprache': '2', 'English': '2', 'Englisch': '2'} 
2024-09-05 10:00:00 - DEBUG - src.logic.language - Language mapping: {'German': '1', 'Deutsch': '1', 'Englische Sprache': '2', 'English': '2', 'Englisch': '2'} 
2024-09-05 10:00:00 - DEBUG - src.logic.language - Given language: Deutsch 
2024-09-05 10:00:00 - DEBUG - src.logic.search_for_links - Link to redirect is: https://s.to/redirect/14157340 
2024-09-05 10:00:00 - DEBUG - src.start_app - Entered DDOS var check and starting new downloader. 
2024-09-05 10:00:00 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-09-05 10:00:01 - INFO - src.logic.search_for_links - Found window.location.href. Redirecting... 
2024-09-05 10:00:01 - DEBUG - src.logic.search_for_links - Enterd VOE to cache 
2024-09-05 10:00:01 - ERROR - src.logic.search_for_links - Could not find cache url for VOE. 
2024-09-05 10:00:01 - ERROR - src.start_app - Could not find cache url for VOE on 1, 2. 
...

Additional Info:

wolfswolke commented 2 months ago

@white-chestnut Looks like VOE is starting to update again... Aniworld still uses the same "old" player but the new one is generating the link differently unless in stupid. Ill look where the link is stored now or how its generated

wolfswolke commented 2 months ago

I just tested streamtape but it works for me. Can you give me your log for streamtape so i can see why its failing for you in the mean time? @white-chestnut

white-chestnut commented 2 months ago

@wolfswolke, you are right, streamtape works again for me, so no need to send any logs. This morning streamtape was not working for s.to and I got the follwing error: 2024-09-05 10:05:02 - WARNING - src.logic.search_for_links - HTTP Error 404: Not Found

But as I said, streamtape is working (again)

Thank you

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 days ago

This issue is stale because it has been open for 30 days with no activity.