From 6647e4120ef406e4f2b415d60eebebef11a40949 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 7 Dec 2025 15:40:10 -0600 Subject: [PATCH] fix: remove debug script --- script.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 script.py diff --git a/script.py b/script.py deleted file mode 100644 index f743d06..0000000 --- a/script.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env python3 -from bs4 import BeautifulSoup -from scrapling.fetchers import StealthyFetcher - -URL = "https://codeforces.com/contest/1974/problem/A" - -page = StealthyFetcher.fetch( - URL, - headless=True, - solve_cloudflare=True, -) - -soup = BeautifulSoup(page.html_content, "html.parser") -title = soup.find("div", class_="title") -if title: - print("Page fetched successfully. Problem title:", title.get_text(strip=True)) -else: - print("Page fetched but could not find problem title.")