This commit is contained in:
Vxrtrauter
2025-06-28 02:10:28 +02:00
3 changed files with 22 additions and 9 deletions
+1 -3
View File
@@ -1,7 +1,6 @@
import requests
from bs4 import BeautifulSoup
search = input("Enter the name of the program you want to search for: ")
url = "https://uztracker.net/tracker.php?nm=" # placeholder url for now
response = requests.get(url) # get da content from da url
@@ -38,11 +37,10 @@ def scrape_uztracker():
return None
def get_post_title(post_url):
response = requests.get(post_url)
soup = BeautifulSoup(response.text, 'html.parser')
maintitle = soup.find(class_='tt-text')
if maintitle:
print("Program found:", maintitle.text)
print(maintitle.text)
else:
print("Program not found")