Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit 914d696

Browse files
committed
add youtube
1 parent 44034f6 commit 914d696

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

schedule-sync.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -88,19 +88,15 @@ def parse_markdown(text):
8888

8989
seen_speakers = set()
9090

91-
# Uncomment when URL setup
92-
youtube_slugs = {}
93-
"""
9491
yt_resp = requests.get(
95-
"https://veyepar.nextdayvideo.com/main/C/pyconau/S/pyconau_2021.json"
92+
"https://portal.nextdayvideo.com.au/main/C/pyconau/S/pyconau_2021.json"
9693
)
9794
yt_resp.raise_for_status()
9895
youtube_slugs = {
9996
x["conf_key"]: x["host_url"].rsplit("/", 1)[1]
10097
for x in yt_resp.json()
10198
if x["host_url"] is not None
10299
}
103-
"""
104100

105101
for entry in os.listdir("data/Session/"):
106102
os.unlink(f"data/Session/{entry}")

0 commit comments

Comments
 (0)