||2 months ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|json2csv.py||1 year ago|
|ug.js||2 months ago|
This browser script allows you to scrape and download your saved UltimateGuitar tabs to JSON format.
There are two ways to use the
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.
Manually paste the code in the browser developer console - the button will be added on the fly. You can also manually call
getTabsfrom 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
$ python json2csv.py -i tabs.json -o tabs.csv # Or $ python json2csv.py < tabs.json > tabs.csv