Giter VIP home page Giter VIP logo

waifucards-scraper's Introduction

waifucards-scraper

A future scraper for waifucards.app witch only shows the characters that you have 1(one) or more cards of.

Install

  1. Install Python3: https://www.python.org/downloads/ (Linux already includes Python).
  2. Copy and place the repo in a folder that you can easily reach, e.g. Documents.

Usage

For now, it takes some manual work to make it work, but I am planning to make it a webscraper ... eventually.

  1. Go to your user profile and click on album, or use the link and replace "[username]" with your username: https://waifucards.app/user/[username]?items=120&collection=has#cards-box
  • Expand the view to 120 cards, or use the link and replace "[username]" with your username.
  1. Inspect one of the waifu's: alt text

  2. Find the "card-frame" class and copy the inner HTML of the class: alt text

  3. Paste it in the "cards.txt" file.

  4. (Optional) If you have more than 120 cards, do it all over again, but on the next page and append the cards.txt file with the next page page etc.

  5. Run main.py

  6. Open cards.csv and use "|" as a custom delimiter (Some anime use a comma in the title, so the pipe symbol was the only real option).

  7. Enjoy!

waifucards-scraper's People

Contributors

lavalaugh 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.