vincentscode / lss-automation

🤖 An advanced SDK & bot for LSS
https://www.leitstellenspiel.de/
0 stars 0 forks source link

Package "config" fehlt #1

Closed Yerox-dev closed 1 month ago

Yerox-dev commented 1 month ago

Wenn man versucht, den Bot zu starten, schlägt der Bot mit folgender Ausgabe fehl:

File "main.py", line 19, in <module>\n
    import config.config as config
ModuleNotFoundError: No module named 'config'

Könnte man ein Platzhalter Modul einfügen? Ich würde gerne den Bot für das aktuelle Update fixen.

vincentscode commented 1 month ago

Es muss eine Datei unter config/config.py platziert werden. Hier ist ein entsprechender Platzhalter-Inhalt mit Anweisungen um die richtigen Daten einzufügen:

# Acquiring these headers:
# Open the developer console in your browser
# Go to the network tab
# Reload the page
# Right click on the first request and copy as curl
# Head over to https://curlconverter.com/ and convert the curl command to python requests
# Copy the headers from the generated code and paste them here
headers = {
    # your headers here
}

# Acquiring the user id:
# Head to your profile page and copy the user id from the URL
# Example: https://www.leitstellenspiel.de/profile/123456789
my_user_id = 123456789