From 5db324d5906e7b3a2a80ac80305228abaa7acc82 Mon Sep 17 00:00:00 2001 From: MrKyrios Date: Wed, 26 Jul 2023 21:00:37 +0200 Subject: [PATCH] Remove print and add comment --- YT2MP3.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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: