Coder Social home page Coder Social logo

amaririsu's Introduction

๐ŸŒธ Amaririsu

A synchronous, heavily customizable and efficient crawling library for ScribbleHub, created with developer experience in mind. Amaririsu is the successor to the old and cluster of mess Amatsuki that was written years back.

๐Ÿถ Asynchronous or Synchronous?

Amaririsu is intentionally a synchronous yet thread-safe library to give developers more flexibility in how they use the library whether they'd want it to be asynchronous with futures or coroutines or as a synchronous library by itself.

๐Ÿ”ฎ Cachy

Amaririsu, by default, has no cache enabled but can support caching by setting the cache in the Amaririsu class which enables developers to bring their cache whether it'd be with Redis or whether it'd be a simple in-memory cache.

๐Ÿงฐ Customizable

You can customize the library as much as possible from changing its cache module to changing how it sends requests to ScribbleHub. All customization options will be available from the Amaririsu class. It's customizability also extends per-request with the ability to customize the connector to even excluding properties such as synopsis, tags and genres on series or excluding users or series from search results.

๐Ÿ’ Usage

Amaririsu's usage is straightforward and simple without any roundabouts. All methods should be self-explanatory and documented to help developers understand the need or use for the method.

๐Ÿ‘ค User Profiles

Requesting a user's profile is as simple as running the following line:

Amaririsu.user("https://www.scribblehub.com/profile/24680/mihou/")

๐Ÿ–‹๏ธ Series

You can request a series' information by simply running the following line:

Amaririsu.series("https://www.scribblehub.com/series/299262/the-vampire-empress/")

You can customize these requests to exclude properties such as synopsis, tags and genres to have a smaller memory footprint by simply excluding them in the options such as:

Amaririsu.series("https://www.scribblehub.com/series/299262/the-vampire-empress/") { 
  includeSynopsis = false
  includeTags = false
  includeGenres = false
}

๐Ÿ”ฌ Searching

You can search for both series and users by simply running the following line:

Amaririsu.search("Mihou")

You can customize this to a certain extent such as only including users by excluding what should be excluded in the options such as:

Amaririsu.search("Mihou") { 
  series.enabled = false
}

amaririsu's People

Contributors

shindoumihou avatar

Watchers

 avatar

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.