mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
13 lines
374 B
Python
13 lines
374 B
Python
import requests
|
|
from bs4 import BeautifulSoup
|
|
|
|
url = "https://uztracker.net/viewtopic.php?t=23897"
|
|
response = requests.get(url)
|
|
if response.status_code == 200:
|
|
soup = BeautifulSoup(response.content, 'html.parser')
|
|
maintitle = soup.find(class_='tt-text')
|
|
if maintitle:
|
|
print("Program found:", maintitle.text)
|
|
|
|
else:
|
|
print("Program not found") |