Giter Site home page Giter Site logo

prudhvi-pln / udb Goto Github PK

View Code? Open in Web Editor NEW
8.0 5.0 7.0 1.93 MB

Introducing UDB: Your One-Stop Solution for Effortless Anime, Drama, Movies, TV Shows Downloads. UDB is a powerful and user-friendly download utility specifically designed for anime, drama, tv-series enthusiasts. It empowers you to effortlessly download entire series at once, saving you precious time and frustration.

License: MIT License

Python 100.00%
anime batch-downloader bot drama python webscraping downloader kdrama scraper movies

udb's People

Contributors

prudhvi-pln avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

udb's Issues

Local variable error

2023-10-22 16:24:32,822 - INFO - :211 - -------------------------------- NEW UDB INSTANCE v2.10.2 --------------------------------
2023-10-22 16:24:32,822 - INFO - :213 - CLI options: config_file = 'config_udb.yaml', series_type_predef = None, series_name_predef = None, series_year_predef = None, episodes_pred>
2023-10-22 16:24:33,704 - INFO - :217 - Selected Series type: drama
2023-10-22 16:24:33,704 - INFO - :226 - Client: <Clients.DramaClient.DramaClient object at 0xffff91b67be0>
2023-10-22 16:24:37,969 - INFO - search_and_select_series:50 - Searching with keyword: arthdal
2023-10-22 16:24:40,624 - INFO - :254 - Selected series: {'title': 'Arthdal Chronicles: The Sword of Aramun (2023)', 'link': 'https://myasiantv.ac//show/arthdal-chronicles-season-2>
2023-10-22 16:24:40,624 - INFO - :257 - Fetching episodes list
2023-10-22 16:24:41,156 - INFO - :262 - Displaying episodes list
2023-10-22 16:24:43,204 - INFO - :283 - Fetching episodes between ep_start = 12.0 and ep_end = 12.0
2023-10-22 16:24:45,400 - ERROR - _send_request:71 - Failed with response code: 500
2023-10-22 16:24:47,843 - ERROR - _send_request:71 - Failed with response code: 500
2023-10-22 16:24:52,282 - ERROR - _send_request:71 - Failed with response code: 500
2023-10-22 16:25:00,730 - ERROR - _send_request:71 - Failed with response code: 500
2023-10-22 16:25:00,730 - WARNING - _get_download_links:227 - Failed to fetch m3u8 links from dlink = 'https://main.a387e6278d8e06083d813358762e0ac63.com/stream/a6226a4838885b3bfeca3827200>
2023-10-22 16:25:00,730 - WARNING - _get_download_links:229 - No other alternatives found
2023-10-22 16:25:12,637 - INFO - :322 - Selected download resolution: 480
2023-10-22 16:25:12,637 - INFO - :325 - Fetching m3u8 links for selected episodes
2023-10-22 16:25:12,638 - ERROR - :360 - Error occurred: local variable 'resolution' referenced before assignment. Check log for more details.
2023-10-22 16:25:12,638 - WARNING - :361 - Stacktrace: Traceback (most recent call last):
File "/home/ubuntu/udb/udb.py", line 327, in
target_dl_links = client.fetch_m3u8_links(target_ep_links, resolution, episode_prefix)
File "/home/ubuntu/udb/Clients/DramaClient.py", line 365, in fetch_m3u8_links
selected_resolution = self._resolution_selector(link.keys(), resolution, self.selector_strategy)
File "/home/ubuntu/udb/Clients/BaseClient.py", line 205, in _resolution_selector
return resolution # return lowest resolution if reached start of loop
UnboundLocalError: local variable 'resolution' referenced before assignment
Also resolutins are not showing

Suggestion

Some dramas doesn't have all the qualities.
Assume a drama has 16 episodes.
Some episodes are only in 480p and some are in 360p
So user choose 480p. This will only download 480p but not 360p.
So improve the script to download the next low quality video (in here 360p)
So if user select 720p and cannot find 720p video then it will download the next available low quality video

AnimePahe Issue

Hello !
When ever I try to download Anime Using AnimePahe from your repo using Termux It shows this

Search Results:
AnimePahe requires a chrome browser to be installed. Unable to proceed further!

Show more episodes

Dramas that have about 100 episodes only shows episodes from 100 to 71 or the first 30 episodes from last

Nestled Episodes

Downloading English TV Series seems to nestle each episode inside it's own folder

image

Add support for GogoAnime

Currently, Animepahe is the source for anime. But updates for a new episode are a bit slower compared to Gogoanime (occasionally). So, planning to add support for GogoAnime. Note: Support for animepahe should still continue, and user should have the option to select either of them.

List index out of error

Try this drama https://myasiantv.ac/show/temptation-of-wife/
When try to download episode 7 get an error saying list out of index. Because that episode is coming through streamsb.
Can you apply a method to skip these types of links or download them? Also ifthe episode download is skipped show the skipped episode in a txt file or in a log

This is a really cool project

Please keep up the good work! This works flawlessly to let my friends self serve add media to jellyfin using this script with ttyd web terminal!!!

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.