Skip to content

Commit

Permalink
add get from env SCHED_LINK
Browse files Browse the repository at this point in the history
  • Loading branch information
pacoxu authored Aug 26, 2024
1 parent 944f3ff commit 4c3c829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions download_slides.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def download_file(url, file_path, timeout=30):


# Step 1: Find all topic links on the main page
topics_url = "https://kccncossaidevchn2024.sched.com/list/descriptions/"
# topics_url = "https://colocatedeventseu2024.sched.com/list/descriptions/"
default_topics_url = "https://kccncossaidevchn2024.sched.com/list/descriptions/"
topics_url = os.getenv('SCHED_LINK', default_topics_url)
response = requests.get(topics_url)
topic_soup = BeautifulSoup(response.text, "html.parser")

Expand Down

0 comments on commit 4c3c829

Please sign in to comment.