Comments (8)
I'd recommend switching to the beta branch as it has more features.
I haven't fully implemented a handler for argsparse yet, but you can treat it as a module (by just navigating the folder, entering python3 console and doing importing it like a normal module).
python3
import anime9
(If you get an importerror, make sure that your currently in the 9anime-Scraper folder)
Here are the two important functions that you can use
There's also some other things on the wiki
I'll also eventually make a requirements file... But for now here are the required third-party modules
- requests
- bs4
from 9anime-scraper.
thank you much :)
from 9anime-scraper.
btw, I made some changes to another repo: https://github.com/danielb2/9anime-scrapper/tree/options
it's only in this branch until they merge it but I have parseoptions and everything nice. May be useful for you
from 9anime-scraper.
cool, i'm probably going to just re-use most of the cli code from KAMD.
I'm thinking of just making a handlers folder so that people can make their own custom handlers that just import the base anime9.
Thanks for the tip though. Feel free to contribute to this repo if you also want to.
from 9anime-scraper.
feel free to borrow my syntax to be able to download single episodes or episode ranges. that was one of my issues when using your code there. Also that I couldn't use jdownloader which will download the episodes in parallel ended up winning me over too for the other project
from 9anime-scraper.
If I submit a PR to use the syntax for the other scraper on commandline (using parseopts) will you merge it? What I like about what I done is that I can easily just download 10 episodes in batch each time for instance. Or single missed episodes
from 9anime-scraper.
Sure sounds good. I'd recommend putting your handler in the Handler's folder.
Another heads up, 9anime.to is now using a reqkey cookie that is generated based on a token cipher. I'm still working on deciphering their cipher code, for now you need to update the constants file with your reqkey.
Edit - fixed typo, changed settings to constants
from 9anime-scraper.
yeah, I saw that. I'm too lazy to do that sort of figuring out, that's why I'd rather fix your code to do what I want :)
from 9anime-scraper.
Related Issues (7)
- Add support for OpenLoad HOT 2
- JSON Decode Error HOT 3
- FileNotFoundError: [Errno 2] No such file or directory HOT 1
- Scrape more information HOT 2
- something wrong now? HOT 10
- Create a Windows Executable HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 9anime-scraper.