remove browse endpoint request keys that are no longer used

This commit is contained in:
sigma67 2021-10-28 21:58:52 +02:00
commit 72661fe1ff
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
4 changed files with 5 additions and 16 deletions

View file

@ -9,17 +9,6 @@ import locale
from ytmusicapi.constants import *
def prepare_browse_endpoint(type, browseId):
return {
'browseEndpointContextSupportedConfigs': {
"browseEndpointContextMusicConfig": {
"pageType": "MUSIC_PAGE_TYPE_" + type
}
},
'browseId': browseId
}
def prepare_like_endpoint(rating):
if rating == 'LIKE':
return 'like/like'