https://github.com/voxel-fox-ltd/titlescraper
A program to output the title of an open window.
https://github.com/voxel-fox-ltd/titlescraper
twitch
Last synced: about 2 months ago
JSON representation
A program to output the title of an open window.
- Host: GitHub
- URL: https://github.com/voxel-fox-ltd/titlescraper
- Owner: Voxel-Fox-Ltd
- Created: 2022-05-19T01:40:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-17T16:49:49.000Z (almost 3 years ago)
- Last Synced: 2025-02-09T23:41:15.682Z (4 months ago)
- Topics: twitch
- Language: Python
- Homepage: https://voxelfox.co.uk
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TitleScraper
TitleScraper is a simple program to catch \[parts of\] a title of an open window, and outputs it to a file on your desktop.

## Use Cases
This system is useful for those who stream with Spotify or another program playing music, and want its song title output onto your stream. By selecting the file you're outputting to as a source in your OBS settings, you can have a constantly updating song tracker on your screen.
## Usage
**Window match regex** is the string/regex to search for in each open window's executable name. For example, the regex `firefox` would match any `firefox.exe` window.
**Title match regex** is the string/regex to search for in each of the matching window's titles. If you used the regex `(.+) - (.+)`, then any titles from `firefox.exe` windows with a hyphen and two spaces in them would be matched.
**File output regex** is the ouptut string to be put into the given file. If your output regex was `\1` then the first group before the hyphen would be matched.
**File output location** is the location where the file output is written.