TikTok-content-farm
TikTok-content-farm copied to clipboard
Problem Youtube API
I don't know where to put the youtube api key
Traceback (most recent call last):
File ".\main.py", line 65, in
Can you give me the config file, it seems to be missing from the github folder?
Thank you very much
How's the config file ?
What do you need ?
In your main.py file at line 65,
api = Api(api_key="your api key here")
if name == 'main': api = Api(api_key=youtube_api_key) log.debug("API inited") do = True
line 64 to 67
if name == 'main':
api = Api(api_key=youtube_api_key) log.debug("API inited") do = True
Replace YouTube_api_key with your YouTube API key on line 65 and I believe it should work. Do you know how to get a YouTube api key?
I put them and its me but name error is not defined
must go to the google cloud and have the youtube key is that?
I put them and its me but name error is not defined
You replaced youtube_api_key with your YouTube api key and you are still getting the same name error? It is still undefined?
yes
he tells me that the key is not defined
must go to the google cloud and have the youtube key is that?
Yes I believe you get the YouTube API keys from Google. This site should help https://developers.google.com/youtube/v3/getting-started
I don't know why my key is not defined
Do you have a solution?
Do you have the same problem?
How's the config file ?
Is isn't there supposed to be a config file inside of the folder? in github you can only download 4 files , souldn't it have a config file also?
It gives me this error :
python3 main.py
Traceback (most recent call last):
File "/home/mrdev/tiktok/TikTok-content-farm/main.py", line 4, in
Thank you
In my file there is that his
can you give me a youtube api key, i don't have it but i really want to try your sripts.