Git Product home page Git Product logo

dontsteal's Introduction

dontsteal

Stop stealing others' replays and git gud scrub!

Setup

  • Run python -m pip install -r requirements.txt
  • Create a config.json file
  • Input your username, password, and osu! API Key
  • Or just the API key

NOTE

  • Your username and password are required to connect and download replays faster instead of using osu!API
  • If you still prefer using only the API write "-a" argument after the replay name (ex: python checktop50.py replay.osr -a)
  • Remember that this method it's quite slow (around 6 minutes) due to API rate limiting

Usage

  • You can run python dontsteal.py replay.osr replay2.osr to compare two replays you have (change replay and replay2 with the name of your replays)
  • You can run python checktop50.py replay.osr to compare a replay with its beatmap top 50 in osu! (change replay with the name of your replay)

Contributors

  • goeo_ - Helped out with the initial logic.
  • Swan - Added the possibility to use osu! accounts to download replays rather than the slow API.

LICENSE

MIT License

dontsteal's People

Contributors

magnusrick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dontsteal's Issues

Account logging not working

Hello,
I've put the right credentials for my account and the right API but it isn't working (it says that the password is invalid)
image

It works with the only api key method...

Also, is 55% of similarity is enough to consider that a play is stolen?

cannot import name 'parse_replay_file' from 'osrparse.replay'

when im writing this command

python checktop50.py replay-osu_979155_4355076974.osr -a

it gives me this error

Traceback (most recent call last):
File "D:\Kamil\dontsteal-latest_branch\dontsteal-latest_branch\checktop50.py", line 5, in
import dontsteal
File "D:\Kamil\dontsteal-latest_branch\dontsteal-latest_branch\dontsteal.py", line 4, in
from osrparse.replay import parse_replay_file
ImportError: cannot import name 'parse_replay_file' from 'osrparse.replay' (C:\Users\kamil\AppData\Local\Programs\Python\Python310\lib\site-packages\osrparse\replay.py)

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.