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 -6
View File
@@ -1,11 +1,8 @@
from bs4 import BeautifulSoup
import requests
import time
from core.utils.data.state import state
Metadata = {
"headers" : ["Post Title", "Author"],
"name" : "m0nkrus",
}
def get_Metadata():
return Metadata
@@ -77,5 +74,14 @@ def scrape_m0nkrus(query):
return filtered_posts
if __name__ == "__main__":
print(scrape_m0nkrus("adobe"))
Metadata = {
"name" : "m0nkrus",
"headers" : ["Post Title", "Author"],
"searchkey" : None,
"scrapeFunc" : scrape_m0nkrus,
"scrapeSearches" : True,
}
if __name__ != "__main__":
state.trackers.update({Metadata["name"] : Metadata})