remove browse endpoint request keys that are no longer used
This commit is contained in:
parent
1f8e34cb31
commit
72661fe1ff
4 changed files with 5 additions and 16 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue