shayaa needs to fix rutracker NOW

This commit is contained in:
nosch
2026-03-07 16:52:27 +01:00
parent eba4c01fca
commit c76d179daa
8 changed files with 95 additions and 40 deletions
+12 -1
View File
@@ -2,6 +2,14 @@ from bs4 import BeautifulSoup
import requests
import time
Metadata = {
"headers" : ["Post Title", "Author"],
"name" : "m0nkrus",
}
def get_Metadata():
return Metadata
cache = {
"data": [],
"last_fetched": 0
@@ -67,4 +75,7 @@ def scrape_m0nkrus(query):
filtered_post["id"] = len(filtered_posts) + 1
filtered_posts.append(filtered_post)
return filtered_posts
return filtered_posts
if __name__ == "__main__":
print(scrape_m0nkrus("adobe"))