From 5cea5d4bf9b7eeba740d0cf1257659cff1aa327c Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Mon, 25 Nov 2024 10:10:51 +0800 Subject: [PATCH] example change to add `?iframe=no` --- download_slides.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download_slides.py b/download_slides.py index 196ec9f..4169338 100644 --- a/download_slides.py +++ b/download_slides.py @@ -21,7 +21,7 @@ def download_file(url, file_path, timeout=30): # Step 1: Find all topic links on the main page -default_topics_url = "https://kccncossaidevchn2024.sched.com/list/descriptions/" +default_topics_url = "https://kccncna2024.sched.com/list/descriptions?iframe=no" topics_url = os.getenv('SCHED_LINK', default_topics_url) response = requests.get(topics_url) topic_soup = BeautifulSoup(response.text, "html.parser")