https://github.com/blacklight/ultimate-guitar-mytabs
Browser script to scrape and download your saved UltimateGuitar tabs to CSV/JSON
https://github.com/blacklight/ultimate-guitar-mytabs
Last synced: over 1 year ago
JSON representation
Browser script to scrape and download your saved UltimateGuitar tabs to CSV/JSON
- Host: GitHub
- URL: https://github.com/blacklight/ultimate-guitar-mytabs
- Owner: blacklight
- License: gpl-3.0
- Created: 2022-02-23T19:49:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-18T19:12:45.000Z (over 3 years ago)
- Last Synced: 2025-01-17T05:11:43.904Z (over 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ultimate-guitar-mytabs
This browser script allows you to scrape and download your saved UltimateGuitar tabs to JSON format.
There are two ways to use the `ug.js` script:
1. Install it as a Greasemonkey script (or whatever extension you use for custom UserScript).
Every time you browse to your UltimateGuitar page, the Download button will appear next to
the header.
2. Manually paste the code in the browser developer console - the button will be added on the
fly. You can also manually call `getTabs` from the developer console to access, filter
and manipulate the list of objects.

Note that the script will download all the tabs on the current page. If you want to download all
of your tabs, then select _All_ from the top filter. The current order of the tabs on the page is
also preserved in the downloaded JSON.
## Convert to CSV
If you want to convert the downloaded JSON to CSV, you can do so by using the `json2csv.py` script.
Usage:
```shell
$ python json2csv.py -i tabs.json -o tabs.csv
# Or
$ python json2csv.py < tabs.json > tabs.csv
```