Skip to content

Commit

Permalink
Remove print and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKyrios committed Jul 26, 2023
1 parent 129f4e5 commit 5db324d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions YT2MP3.py
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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:
Expand Down

0 comments on commit 5db324d

Please # to comment.