JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 14.09.2021, 03:19
Barss Barss is offline
Modem User
 
Join Date: Sep 2021
Posts: 1
Default Speedport W724A als bat python Datei

Hallo zusammen,

mein reconect über JDownloader funktioniert hervorragend. Nun benötige ich den reconect Skript für mein Speedport W724A als bat-Datei.
Könnte mir jemand behilflich sein und mein funktionierender Skript aus JDownloader an die bat oder python -Datei anpassen?
Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[REQUEST]]]
        POST /data/Login.json HTTP/1.1
        Host: %%%host%%%

password=%%%pass%%%&showpw=0&csrf_token=sercomm_csrf_token
        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]
        [[[REQUEST]]]
        GET /html/content/overview/index.html?lang=en HTTP/1.1
        Host: %%%host%%%
        [[[/REQUEST]]]

    [[[/STEP]]]

 [[[STEP]]]
        [[[REQUEST]]]
        GET /html/content/overview/index.html?lang=en HTTP/1.1
        Host: %%%host%%%
        [[[/REQUEST]]]

    [[[/STEP]]]

 [[[STEP]]]
        [[[REQUEST]]]
        GET /html/content/internet/connection.html?lang=en HTTP/1.1
        Host: %%%host%%%
        [[[/REQUEST]]]
		[[[RESPONSE keys="csrf_token"]]]
		var csrf_token = '(.*?)';
[[[/RESPONSE]]]

    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /data/Connect.json HTTP/1.1
        Host: %%%host%%%

req_connect=disabled&csrf_token=%%%csrf_token%%%
        [[[/REQUEST]]]

    [[[/STEP]]]
 [[[STEP]]]
[[[WAIT seconds="30"/]]]
  [[[/STEP]]]
    [[[STEP]]]
        [[[REQUEST]]]
        POST /data/Connect.json HTTP/1.1
        Host: %%%host%%%

req_connect=online&csrf_token=%%%csrf_token%%%
        [[[/REQUEST]]]

    [[[/STEP]]]
[[[/HSRC]]]
Vielen Dank im Voraus und Grüße
Alex
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 21:33.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.