pyabc2.sources.norbeck.load_url

pyabc2.sources.norbeck.load_url(url)

Load tune from a specified norbeck.nu/abc/ URL.

Examples

>>> from pyabc2.sources import norbeck
>>> norbeck.load_url('https://norbeck.nu/abc/display.asp?rhythm=slip+jig&ref=106')
Tune(title='For The Love Of Music', key=Gmaj, type='slip jig')
>>> norbeck.load_url('https://www.norbeck.nu/abc/display.asp?rhythm=reel&ref=693')
Tune(title="Paddy Fahy's", key=Gmaj, type='reel')

Notes

Grabs the ABC from the HTML source.

Parameters:

url (str)

Return type:

Tune