mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
14 lines
380 B
Python
14 lines
380 B
Python
import requests
|
|
|
|
server = "https://pizzasucht.net"
|
|
|
|
|
|
def scrape_rutracker(search_text):
|
|
search = requests.get(f"{server}/search/{search_text}")
|
|
data = search.json()
|
|
resulttitles = data["titles"]
|
|
resultlinks = data["links"]
|
|
return resulttitles, resultlinks
|
|
|
|
|
|
# This Function utilizes the SoftwareManager Server - Source Code can be found in the "Server" branch. |