Coder Social home page Coder Social logo

senzmaki / senpwai Goto Github PK

View Code? Open in Web Editor NEW
132.0 6.0 16.0 96.5 MB

A desktop app for tracking and batch downloading anime

Home Page: https://youtu.be/dQw4w9WgXcQ

License: GNU General Public License v3.0

Python 98.14% Inno Setup 1.45% Shell 0.42%
anime automation python anime-downloader selenium beatifulsoup web-scraper pyqt pyqt6-desktop-application batch-downloader

senpwai's People

Contributors

senzmaki avatar zai-kun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

senpwai's Issues

IndexError in DownloadEpisodes function

I encountered an IndexError while using the senpwai.py script to download anime episodes. The error occurred in the DownloadEpisodes function on line 1008. The code attempts to access the last element of the list "file_paths", but the list appears to be empty, resulting in an IndexError.

Expected behavior:
The script should download the anime episodes to the specified folder without any errors.

Actual behavior:
The script encounters an IndexError in the DownloadEpisodes function, indicating that the list "file_paths" is empty.

Suggested solution:
The issue may be caused by the download folder path being incorrect or empty. It would be helpful to add some error checking to ensure that the download folder path is valid and contains files before attempting to access the last element of the list "file_paths".

Environment:
Operating System: Windows 10
Python Version: 3.9.7
senpwai.py Version: 1.0.0

error while installing python.

So while running the installer, i'm coming across the error," Cannot find the file specified." when it gets to installing python which is already installed on my device.
Screenshot 2023-10-13 125350

Error while downloading on the first step.

Hey,
Your downloader is really great, I use it for downloading anime and watch them on my non-smart tv.

So the problem i found was on the 1st step of downloading.

The image - stuck a

1st is stuck than everything disappears

image
so its stuck than disappear
it didn't download any anime either after 5 minutes of waiting.
Note: I had changed the background image because i can't see directly to light image.

Hope it will be fixed soon)

Issues

Search crashes on searching various shows like Air Gear and Demon Slayer, just endless Loading... and searching for anything else, shows the animes but selecting does nothing.

Gogoanime download doesn't seem to work either. Can search and select then it gathers download links and it just sits there.

Edit - HLS seems to fix gogo.

Other than that, it's a great little program.

Update requirements.txt to include cx_Freeze

Adding cx_Freeze for virtual environment enchancement

Download the entire repository requirements at once in case that the repo is cloned in a virtual environment.
It saves people's time and be less annoying.

Updated code (requirements.txt)

anitopy==2.1.1
appdirs==1.4.4
pylnk3==0.4.2
bs4==0.0.1
yarl==1.9.2
requests==2.31.0
cryptography==41.0.3
PyQt6==6.6.0
tqdm==4.66.1
argparse==1.4.0
cx_Freeze==6.15.12

Captcha Detected

Ive tried downloading Dragon Ball (1986) and Dragon Ball Z (1989) from GoGo.
I keep getting stopped with the Captcha block detected.Ive switched browsers to no luck so I decided to "Download in Browser" then it took me to "https://gotaku1.com/" wondering if it could be added as a Repo.

Picky Me

Im sorry for the report but I prefer Dub Anime, Yet the website your wonderful program collects its media from has a finite amount of Dubbed Shows.

senpcli: How to change the download folder

Hi, I'm using senpcli on ubuntu and the default download folder always points to /root/Downloads/Anime so I have to move the downloaded episodes manually to my desired folder /Media. Is there a way to set the download folder before running the command ?

Spanish sites

I love the app and I would like to download anime from spanish sites like jkanime, animeflv, heneojara. Thanks you

Senpwai versions not opening

I have been using Senpwai (v2.0.0) for some time now and so far, it worked great but recently I decided to upgrade it to the newest version possible so when I downloaded the latest version (2.0.4) and installed it. It installed properly but when I tried to open it. It didn't do anything at all. So, when I tried to reinstall the older version (v2.0.0) which I was using it open up properly but when I search for the anime it shows anime not found in animepahe. Have tried all of the new version the last version that opened was 2.0.1 and after that none.

Gogoanime only downloads subs

Since 2.1.8, when I'm downloading dubs with Gogoanime, I'm only getting the subbed versions.
Using the Senpwai-setup.exe on Windows 10.

Crashing

The app is just crashing, reinstalled it multiple times :/

Senpwai.2023-05-30.15-41-47.mp4

Aniwatch.to

this site uses different languages โ€‹โ€‹not only english, maybe it can be implemented for those who don't speak much english

Error when downloading "Boku no Kokoro no Yabai Yatsu Season 2" from animepahe

I got this error when trying to download that anime:

19:00:24 root@2b54cb835a09 ~ senpcli -sd sub -s pahe -se 1 -ee 50 -q 1080p -msd 10 "Boku no Kokoro no Yabai Yatsu Season 2"

                                   .__  .__
  ______ ____   ____ ______   ____ |  | |__|
 /  ___// __ \ /    \\____ \_/ ___\|  | |  |
 \___ \\  ___/|   |  \  |_> >  \___|  |_|  |
/____  >\___  >___|  /   __/ \___  >____/__|
     \/     \/     \/|__|        \/

Setting end episode to 9 since the anime only has 9 episodes
Downloading to: /Media/Anime/Boku no Kokoro no Yabai Yatsu Season 2
Traceback (most recent call last):
  File "/usr/local/bin/senpcli", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/senpwai/senpcli/main.py", line 700, in main
    initiate_download_pipeline(parsed, *anime_and_anime_details)
  File "/usr/local/lib/python3.11/dist-packages/senpwai/senpcli/main.py", line 665, in initiate_download_pipeline
    handle_pahe(parsed, anime, anime_details)
  File "/usr/local/lib/python3.11/dist-packages/senpwai/senpcli/main.py", line 510, in handle_pahe
    if already_has_all_episodes(
       ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/senpwai/senpcli/main.py", line 461, in already_has_all_episodes
    lacked_eps_page_links = lacked_episodes(
                            ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/senpwai/utils/scraper.py", line 370, in lacked_episodes
    return [
           ^
  File "/usr/local/lib/python3.11/dist-packages/senpwai/utils/scraper.py", line 371, in <listcomp>
    episode_page_links[eps_number - first_eps_number]
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range

Can you fix that ? switching to gogo doesn't help

gogoanime doesn't work

I searched an anime on the gogoanime option and clicked it. The problem is I can't open the page for the anime, it only keeps loading.
Senpwai 10_04_2024 3_08_18 AM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.