Attempt to switch to video search instead of songs
All checks were successful
Deploy Service / deploy (push) Successful in 16s
All checks were successful
Deploy Service / deploy (push) Successful in 16s
This commit is contained in:
parent
4a117805f0
commit
08cf640efc
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ from app.config import config
|
|||
|
||||
ytmusic = YTMusic('oauth.json',
|
||||
oauth_credentials=OAuthCredentials(client_id=config.yt.client_id, client_secret=config.yt.client_secret))
|
||||
if config.proxy:
|
||||
ytmusic.proxies = {'http': config.proxy, 'https': config.proxy}
|
||||
# if config.proxy:
|
||||
# ytmusic.proxies = {'http': config.proxy, 'https': config.proxy}
|
||||
|
||||
|
||||
def name_to_youtube(name: str):
|
||||
|
|
Loading…
Add table
Reference in a new issue