a semiworking version, line 343 in gui.py is commented cuz it needs work, the table is also a bit screwed

This commit is contained in:
nosch
2026-03-07 19:30:24 +01:00
parent c76d179daa
commit 003dd0e3aa
7 changed files with 121 additions and 158 deletions
+12 -4
View File
@@ -2,11 +2,8 @@ import requests
from bs4 import BeautifulSoup
from urllib.parse import urljoin
from core.utils.logging.logs import consoleLog
from core.utils.data.state import state
Metadata = {
"headers" : ["Post Title", "Author"],
"name" : "uztracker",
}
def get_Metadata():
return Metadata
@@ -41,3 +38,14 @@ def scrape_uztracker(query):
except requests.RequestException as e:
consoleLog(f"Failed to fetch {search_url}: {e}")
return None
Metadata = {
"name" : "uztracker",
"headers" : ["Post Title", "Author"],
"searchkey" : None,
"scrapeFunc" : scrape_uztracker,
"scrapeSearches" : True,
}
if __name__ != "__main__":
state.trackers.update({Metadata["name"] : Metadata})