youtube:
enabled: true # Whether this source can be used.
# you may optionally set your refresh token if you have one, which skips the OAuth flow entirely.
# once you have completed the oauth flow at least once, you should see your refresh token within your
# lavalink logs, which can be used here.
#refreshToken: ""
# Set this if you don't want the OAuth flow to be triggered, if you intend to supply a refresh token
# later on via REST routes. Initialization is skipped automatically if a valid refresh token is supplied.
#skipInitialization: true
allowSearch: true # Whether "ytsearch:" and "ytmsearch:" can be used.
allowDirectVideoIds: true # Whether just video IDs can match. If false, only complete URLs will be loaded.
allowDirectPlaylistIds: true # Whether just playlist IDs can match. If false, only complete URLs will be loaded.
# The clients to use for track loading. See below for a list of valid clients.
# Clients are queried in the order they are given (so the first client is queried first and so on...)
clients:
- MUSIC
- ANDROID_TESTSUITE
- WEB
- TVHTML5EMBEDDED
# The below section of the config allows setting specific options for each client, such as the requests they will handle.
# If an option, or client, is unspecified, then the default option value/client values will be used instead.
# If a client is configured, but is not registered above, the options for that client will be ignored.
# WARNING!: THE BELOW CONFIG IS FOR ILLUSTRATION PURPOSES. DO NOT COPY OR USE THIS WITHOUT
# WARNING!: UNDERSTANDING WHAT IT DOES. MISCONFIGURATION WILL HINDER YOUTUBE-SOURCE'S ABILITY TO WORK PROPERLY.
# Write the names of clients as they are specified under the heading "Available Clients".
clientOptions:
WEB:
# Example: Disabling a client's playback capabilities.
playback: false
videoLoading: false # Disables loading of videos for this client. A client may still be used for playback even if this is set to 'false'.
TVHTML5EMBEDDED:
# Example: Configuring a client to exclusively be used for video loading and playback.
playlistLoading: false # Disables loading of playlists and mixes.
searching: false # Disables the ability to search for videos.
oauth:
enabled: true # IF YOU RUN YOUR LAVALINK CHECK YOUR CONSOLE AND CLICK THE GOOGLE.COM/DEVICES LINK AND THERE IS A CODE THAT YOU NEED TO PUT IN TO THE GOOGLE AND USE A BURNER ACCOUNT OR ALT ACCOUNT THERE IS A POSSIBLE CHANGE YOU CAN GET BANNED FROM GOOGLE OR YOUTUBE SO JUST USE A BURNER ACCOUNT IN CASE.
pot:
token: "" # THIS REQUIRE INSTALLING THIS IS A PYTHON FILE INSTALL THE REQUIREMENTS AND RUN PYTON INDEX FILE AND AFTER RUNNING YOU WILL RECIVE AND TOKEN AND VISTOR DATA AND PASTE IT BELOW.
visitorData: ""
#potoken configuration help
1 messages · Page 1 of 1 (latest)
you need only ouath or pot token
the thing is that
when i use only potoken
i get the sign in error
so i have to use oauth with it
give me the logs
this video requires sign in ?
that ?
if so the same shit happend to me
the asn or ip of my vps is blocked
no idont think its my vps tbh\
i tried another vps with everything different same thing
its like without aouth ( using potoken ) u get sign in\
and with both oauth and potoken
u just get "Invalid status code for search music response: 400"
how did you generate it
Oauth is patched
ye ye nvm
my vps got flagged so i can't use oauth anymore
i tried my friends vps and it was working fine with only potoken
i tried following this but got `No module named 'potoken_generator', do you know how to get it?
In the repo, there is a folder named potoken_generator. Maybe you deleted that accidentally.
well u gotta do it in the same machine u wanna host lavalink in
for example in ur vps , just download the files using git then do the same steps in the site, ofc make sure u got python 3 and git and env