Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

First step towards adding of bücher.de #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

baderas
Copy link

@baderas baderas commented Sep 2, 2015

Hi,

i want to add bücher.de as partner, but there seems to be some small problem.
The links should be alright, but the login won't work, the cookie is not passed (error around line 255) and you only see login screen without any error and of course without being logged in.
I could not manage to get it to work, as I said the links should be alright, but somehow bücher.de rejects the login POST request - maybe some kind of randomly generated token missing?

I hope you can help. Account can be created for free.

@aquisx
Copy link

aquisx commented May 17, 2017

The script must first GET the Login Page.
"GET", "/go/my_dry/my_login/receiver_object/my_login/
And then POST
"POST", "/go/my_dry/my_login/receiver_object/my_login/" &"form_send=1&form%5Blogin%5D=" & $mail & "&form%5Bpassword%5D=" & $pass )
After that you must GET the following
"GET", "/oauth2/authorize?client_id=dte_ereader_app_01&response_type=code&scope=ebook_library&redirect_uri=https%3A%2F%2Fwebreader.mytolino.com%2Flibrary%2F&x_buecherde.skin_id=de_dte_tolino")
Now Buecher.de redirects you to
https://webreader.mytolino.com/library/?code=CODE

@aquisx
Copy link

aquisx commented May 17, 2017

At the moment i fail the upload at my AutoIt Script with the header:
{"ResponseInfo":{"serviceName":"generic[*]","responseStatus":-113,"message":"m_id-Header is missing.","requestId":"REQUEST ID"}}

@hzulla
Copy link
Owner

hzulla commented Jun 12, 2018

@aquisx - Thanks so far. Were you able to get it to work later?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants