mirror of
https://github.com/Findus23/RadioStats.git
synced 2024-09-19 16:03:48 +02:00
12 lines
288 B
Python
12 lines
288 B
Python
|
from utils import *
|
||
|
|
||
|
URL = "https://meta.radio886.at/886/0"
|
||
|
|
||
|
|
||
|
def get(channel):
|
||
|
for track in fetch(URL, True)["data"]:
|
||
|
artist = track["name"]
|
||
|
title = track["title"]
|
||
|
time = time_to_date(string_to_time(track["scheduled_time"]))
|
||
|
yield time, artist, title
|