Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions main
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import requests

for arg in sys.argv:
if arg == '-h' or arg == '--help':
print('-s, --search - search for radios; NOTE: after -s argument you must type query')
print('-s, --search - search for radios; NOTE: after -s argument you must type query like: pop, rock... \n')
elif arg == '-s' or arg == '--search':
QUERY = input()
QUERY = input("search: ")
BASE_URL = "https://de1.api.radio-browser.info/json/stations/byname/"
OUTPUT_URL = BASE_URL + QUERY

Expand Down