-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
In the scrAPI version, radiolists are not processed. They could be: the following regex - if inserted immediately after the playlists line - picks up radiolists:
r'(?:(?P<radiolist>RD.*?)\&)?'
In the bs4API version, radiolists are picked up with playlists, but with an 'id' that starts with 'RD' instead of 'PL'. To avoid processing them (or anything else that is returned that isn't a 'PL' playlist) the code includes this hack:
# don't append radiolist playlists
if str(item["id"]["playlistId"]).startswith("PL"):
items.append(item)
But what to do with a radiolist, once it is picked up?
Metadata
Metadata
Assignees
Labels
No labels