You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
In the scrAPI version, radiolists are not processed. They could be: the following regex - if inserted immediately after the playlists line - picks up radiolists:
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:
But what to do with a radiolist, once it is picked up?
The text was updated successfully, but these errors were encountered: