diff --git a/YT2MP3.py b/YT2MP3.py index fb47768..f01186a 100644 --- a/YT2MP3.py +++ b/YT2MP3.py @@ -1,8 +1,9 @@ import os import requests -URLS_FILE_PATH = "youtubeURLs.txt" +#Example: 'C:/Users/John/Downloads/' DOWNLOAD_PATH = "{YOUR_DOWNLOAD_PATH}" +URLS_FILE_PATH = "youtubeURLs.txt" API_URL = "https://youtube-mp36.p.rapidapi.com/dl" @@ -20,8 +21,6 @@ def download_mp3(video_id): querystring = {"id": video_id} response = requests.get(API_URL, headers=HEADERS, params=querystring) - print(response.json()) - json_response = response.json() if 'link' in json_response: