Coder Social home page Coder Social logo

osu-rank-scraper's Introduction

Osu-Rank-Scraper

Note: This project is for educational purposes. Please don't actually use it without the permission of Dean Herbert (admin of osu.ppy.sh)

Python Version: 3

Script defaults to scraping Mouse + Keyboard users in the top 10,000 globally.
Instructions on how to change what playstyle to look for and what country to scrape in is included in the script.
This process will take anywhere from 1-3 hours since you're parsing html from 10,200 different webpages.
You can stop the script early if you want once the script reaches your profile (as indicated by the current page and current user output in the command line interface)

Formatting Output Information

(makes the final result more visually appealing)

Open up the output file (default is output.txt) with a text editor (notepad++, sublime text, etc.)
Press Ctrl+f and replace all src=" with src="http:
Do the same thing with href=" and href="http://osu.ppy.sh

Pasting Output Information to template.html

Copy and paste everything in output.txt below the line that says
""

Spacing does not matter. Save the html document and open it up with a web browser.


Created using Beautiful Soup http://www.crummy.com/software/BeautifulSoup/

osu-rank-scraper's People

Stargazers

 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.