Giter Site home page Giter Site logo

danielrjohnson / fightlog Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.11 MB

A simple tool for finding, searching, and filtering fighting game tournament matches pulled directly from YouTube videos.

Home Page: https://fightlog.streamlit.app

License: MIT License

Python 100.00%

fightlog's Introduction

๐Ÿ“’ FightLog

Never go digging through descriptions again.

FightLog is a tool for finding, searching, and filtering fighting game tournament matches pulled directly from YouTube videos.

FightLog allows you to:

  • View and choose from a large set of automatically updated tournament matches.
  • Filter by character or even by character matchup.
  • Filter by player.
  • Filter by channel.
  • Filter by date.

10-Second Demo

FightLog Demo Gif

Brief Technical Description

The critical pieces of information that we gather are the chapter names of a YouTube video. For channels that use them, it tells us which players played, which characters they played, and when in the video they played.

With this in mind, FightLog works as follows:

  • search_list.csv outlines which channels to search, what regex to match videos with, etc.
  • Every so often, the update_database.py script is ran to scrape information from matched videos like chapters, video date, etc.
  • The streamlit frontend (in fightlog.py) does some data cleaning and preparation like character name typo correction and YouTube URL creation before the data is shown to the user.

This process was designed to be as simple as possible while still giving something very useful to the fighting game community.

Limitations

  • Single-match videos are not currently supported. (e.g. "Evo Japan 2024: TEKKEN 8 2024 Grandfinals | Lowhigh vs Chikurin")
  • Spoiler prevention inhibits us from parsing some important matches. (e.g. "1:36:54 Grand Finals")
  • Videos without chapters give us nothing. (e.g. "TEKKEN 8 Top 6, Evo Japan 2024 Day 3")
  • Only Tekken 8, Street Fighter 6, Guilty Gear Strive, and Granblue Fantasy Versus Rising are currently supported.

Appreciate this tool?

Buy Me a Coffee at ko-fi.com

fightlog's People

Contributors

actions-user avatar danielrjohnson avatar

Watchers

Kostas Georgiou avatar  avatar

fightlog's Issues

`update_database.py` occasionally fails

Some days, update_database.py fails as follows:

for vid in videos:
        for chapter in vid["chapters"] if vid["chapters"] else []:
                # vid is None, vid["chapters"] throws an error

Probably just needs a "if vid is None: continue", but not sure why vid can be None in the first place and only is None on occasion.

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.