[BUG] Float index crash #14

Closed
opened 2025-04-09 15:00:09 +00:00 by tcsenpai · 0 comments
Owner

Originally created by @williamzeni99 on 3/8/2025

Checklist before submitting

Please make sure to check the following:

  • [ x] You are using the latest version of the project/repository.
  • [x ] The issue relates to a website or a specific functionality.
  • [x ] If the issue is related to a website, you have verified that the URL works correctly in your browser.

Describe the issue

Bug che si può riprodurre scaricando la stagione 2 di Solo Leveling da animeunity. Il cast ad int fa crashare l'esecuzione del programma.

Download:  EP_7.5 

You can safely stop the download with Ctrl+c  

Traceback (most recent call last):
  File "/app/test_run.py", line 25, in <module>
    main()
  File "/app/StreamingCommunity/run.py", line 333, in main
    run_function(input_to_function[category], search_terms = args.search)
  File "/app/StreamingCommunity/run.py", line 54, in run_function
    func(search_terms)
  File "/app/StreamingCommunity/Api/Site/animeunity/__init__.py", line 74, in search
    download_series(select_title)
  File "/app/StreamingCommunity/Api/Site/animeunity/film_serie.py", line 140, in download_series
    path, _ = download_episode(list_episode_select[0]-1, scrape_serie, video_source)[0]
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/StreamingCommunity/Api/Site/animeunity/film_serie.py", line 73, in download_episode
    title_name = f"{scrape_serie.series_name}_EP_{dynamic_format_number(int(obj_episode.number))}.mp4"
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '7.5'
exit status 1

Environment :

  • OS: Linux Pop Os
*Originally created by @williamzeni99 on 3/8/2025* ## Checklist before submitting Please make sure to check the following: - [ x] You are using the latest version of the project/repository. - [x ] The issue relates to a website or a specific functionality. - [x ] If the issue is related to a website, you have verified that the URL works correctly in your browser. ## Describe the issue Bug che si può riprodurre scaricando la stagione 2 di Solo Leveling da animeunity. Il cast ad int fa crashare l'esecuzione del programma. ``` Download: EP_7.5 You can safely stop the download with Ctrl+c Traceback (most recent call last): File "/app/test_run.py", line 25, in <module> main() File "/app/StreamingCommunity/run.py", line 333, in main run_function(input_to_function[category], search_terms = args.search) File "/app/StreamingCommunity/run.py", line 54, in run_function func(search_terms) File "/app/StreamingCommunity/Api/Site/animeunity/__init__.py", line 74, in search download_series(select_title) File "/app/StreamingCommunity/Api/Site/animeunity/film_serie.py", line 140, in download_series path, _ = download_episode(list_episode_select[0]-1, scrape_serie, video_source)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/StreamingCommunity/Api/Site/animeunity/film_serie.py", line 73, in download_episode title_name = f"{scrape_serie.series_name}_EP_{dynamic_format_number(int(obj_episode.number))}.mp4" ^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: '7.5' exit status 1 ``` ## Environment : - OS: Linux Pop Os
tcsenpai added the
bug
bug
bug
bug
bug
bug
bug
bug
bug
labels 2025-04-09 15:00:09 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/StreamingCommunity#14
No description provided.