Coder Social home page Coder Social logo

gbf-scraper's Introduction

gbf-scraper

A couple of simple scripts thrown together to scrape and parse data from Granblue Fantasy's guild wars and maybe other stuff in the future. Requests are not threaded but the script is easily instanced, gw_scheduled_tasks.py.

Installation

  • Python 3.6
  • The following packages:
    • selenium
    • seleniumrequests
    • pushbullet
    • pandas (optional)
  • A relatively recent version of chrome/chromium
  • Chrome webdriver

Usage

  • Configure config.py
    • Set use_pb to true and enter your api key if you want pushes from pushbullet
  • Place the chrome webdriver executable in the root folder of the script
  • Run python gbf-scrape.py -l and login to your mobage account for initial profile setup

Usage

usage: gbf-scraper.py [profile] [options]

example: python gbf-scraper.py profile2 -i 1 8000

flag arguments description
--individual, -i start, end Scrapes GW individual rankings between the specified start and end pages
--guild, -g prelim_start, prelim_end, seed_start, seed_end Scrapes GW guild rankings between the specified start and end pages for both prelim and seed categories
--members, -m None Scrape member data from guilds specified in config.py
--info, -i guild_ID Scrapes rank info from a guild specified
--login, -l None Pauses the script upon starting up to allow logging in

gbf-scraper's People

Contributors

kyoukaya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gbf-scraper's Issues

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.