Kylart / Nyaapi

Non-official api to access Nyaa.si and Nyaa.pantsu.cat (search, upload,...)
MIT License
108 stars 17 forks source link

Consider using web scraping #1

Closed JuanjoSalvador closed 6 years ago

JuanjoSalvador commented 6 years ago

You are getting only 75 results, because you're using the RSS version of the result page. Consider using the HTML version and Cheerio or something like it for parsing the web and get the torrents info.

This allows you to make requests using the page filter and a lot of more cool features.

Kylart commented 6 years ago

You are absolutely right! I've been thinking about it lately.

I am kinda busy with some other projects I must work on. Be sure it's gonna happen though!

JuanjoSalvador commented 6 years ago

I have my own version of Nyaa "API" built with Python and web scraping, I guess I could build something similar using NodeJS.

Btw, NyaaPantsu has its own API now, we can use it instead of scraping or RSS page.

Kylart commented 6 years ago

Oh you're actually right!

I'll probably do some upgrade by monday then.

Kylart commented 6 years ago

This is solved in 2.0.0 (To be merged soon)