From 330ab171ca18e0f56437302bdc71af4f5bd8fed6 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Wed, 27 Nov 2024 11:30:43 +0800 Subject: [PATCH] update KubeCon NA 2024 --- download_slides.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/download_slides.py b/download_slides.py index caaf680..8a3567a 100644 --- a/download_slides.py +++ b/download_slides.py @@ -21,10 +21,13 @@ 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/" +# topics_url = "http://localhost:8000/view-source_https___pytorch2023.sched.com_list_descriptions_.html" +# topics_url = "https://colocatedeventsna2024.sched.com/list/descriptions/" +topics_url = "https://kccncna2024.sched.com/list/descriptions/?iframe=no" +# topics_url = "https://kcsna2024.sched.com/list/descriptions?iframe=no" response = requests.get(topics_url) topic_soup = BeautifulSoup(response.text, "html.parser") +print(response.text) slides_links = [] # Extract links to PDF and PPTX files