Coder Social home page Coder Social logo

mangadex-scraper's People

Contributors

dyedquartz avatar majora2007 avatar

Stargazers

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

Watchers

 avatar  avatar

mangadex-scraper's Issues

Improper manga title will fail on windows

If a manga title has ":" character in it, then the program will fail to create a directory.

The program should remap this to "-" which is common in other software.

Example: 35668 (MOMO: The Blood Taker)

Compile errors

Hello,

I was hoping you could help shed some light on what I'm missing or doing wrong.
I'm installing via "cargo install mangadex-scraper". Everything goes well until I get the following error:
Compiling serde_urlencoded v0.6.1
Compiling reqwest v0.10.4
Compiling mangadex-scraper v0.5.1

error[E0412]: cannot find type UrlError in crate reqwest
--> C:\Users<username>.cargo\registry\src\github.com-1ecc6299db9ec823\mangadex-scraper-0.5.1\src\main.rs:10:34
|
10 | fn main() -> Result<(), reqwest::UrlError> {
| ^^^^^^^^ not found in reqwest

error[E0599]: no method named unwrap found for opaque type impl std::future::Future in the current scope
--> C:\Users<username>.cargo\registry\src\github.com-1ecc6299db9ec823\mangadex-scraper-0.5.1\src\main.rs:152:47
|
152 | let mut resp = client.get(url).send().unwrap();
| ^^^^^^ method not found in impl std::future::Future

error[E0599]: no method named unwrap found for opaque type impl std::future::Future in the current scope
--> C:\Users<username>.cargo\registry\src\github.com-1ecc6299db9ec823\mangadex-scraper-0.5.1\src\main.rs:214:55
|
214 | let mut resp = client.get(url).send().unwrap();
| ^^^^^^ method not found in impl std::future::Future

error[E0599]: no method named unwrap found for opaque type impl std::future::Future in the current scope
--> C:\Users<username>.cargo\registry\src\github.com-1ecc6299db9ec823\mangadex-scraper-0.5.1\src\mangadex_api.rs:39:50
|
39 | let json: MangaData = client.get(url).send().unwrap().json().unwrap();
| ^^^^^^ method not found in impl std::future::Future

error[E0599]: no method named expect found for opaque type impl std::future::Future in the current scope
--> C:\Users<username>.cargo\registry\src\github.com-1ecc6299db9ec823\mangadex-scraper-0.5.1\src\mangadex_api.rs:50:10
|
50 | .expect("something went wrong with sending")
| ^^^^^^ method not found in impl std::future::Future

error: aborting due to 5 previous errors

Some errors have detailed explanations: E0412, E0599.
For more information about an error, try rustc --explain E0412.
error: failed to compile mangadex-scraper v0.5.1, intermediate artifacts can be found at C:\Users\<username>\AppData\Local\Temp\cargo-installiu5NiY

Caused by:
could not compile mangadex-scraper.

If you need any more information or have any input please let me know. I'll be happy to help the best I can.

Compilation Error

Firstly, I apologize. This is my first time playing with any Rust at all.
I installed the Visual C++ tools and ran cargo install

This is the error I am getting.

image

Requesting Additional Functionality

This program is really good and I would first like to thank the Dev for making it for us. There is no actual issue but I wanted to know if the following features could be implemented or if they are there, a guide to use them.

One important thing I would like implemented would be the option to have a proper output format. I would like to predefine the folder structure for downloads and the download location.

Other minor features I would like getting implemented are:

  • The option to add a timeout or 15 to 30 seconds or more between each chapter downloads
  • Ability to download whichever is the latest chapter available in the specified language
  • Ability to keep a log of downloaded chapters so when we download them again only the chapters that were not previously downloaded are added only to save bandwidth and time
  • If the option for additional websites will be added in the future

Please look into implementing the output format feature if possible. Thank You. Looking forward to further developments

How can I start this program

good day
I need some help and hints on how to start downloading from M-D.org using your program
can you make a wiki or how-To
best regard.

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.