GoBooDo
GoBooDo copied to clipboard
"name='NID', domain=None, path=None"
the book is https://books.google.bg/books?id=c-MjAwAAQBAJ&printsec=frontcover#v=onepage&q&f=false but i met the erro "name='NID', domain=None, path=None" Received invalid response
I have the same issue. I tried the modification suggested here, didn't work. Is it due to a recent change in the website's layout ? Is there an update in the works at the moment ? Or a workaround ? Or an alternative utility which does work ? (I've tried 3 or 4 since yesterday, none worked.)
Same as #57.
If I use VPN I can get the book title
I'm not sure how to solve this one, but it only happens when I'm connected to a VPN with IP address from an EU country because of the GDPR prompt from google.com.
O.K. I found a solution, but I'm not really the GitHub aficionado, so no pull requests from me, if anybody is willing to make one be my guest:
In function reset_head(self) add a cookies argument to a request like this:
req = requests.get("https://google."+self.country, cookies={'CONSENT': 'YES+1'}, verify=False)
@mrelg Tried the above, with two IDs, I get “Received invalide response” for both. Any clue ?
...\GoBooDo-master>python3 GoBooDo.py --id=Uoy3DwAAQBAJ
.88888. 888888ba 888888ba
d8' `88 88 `8b 88 `8b
88 .d8888b. a88aaaa8P' .d8888b. .d8888b. 88 88 .d8888b.
88 YP88 88' `88 88 `8b. 88' `88 88' `88 88 88 88' `88
Y8. .88 88. .88 88 .88 88. .88 88. .88 88 .8P 88. .88
`88888' `88888P' 88888888P `88888P' `88888P' 8888888P `88888P'
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Downloading The Black List, Part 1 - D.D.K.
Received invalid response
...\GoBooDo-master>python3 GoBooDo.py --id=PtkMiNeajNMC
.88888. 888888ba 888888ba
d8' `88 88 `8b 88 `8b
88 .d8888b. a88aaaa8P' .d8888b. .d8888b. 88 88 .d8888b.
88 YP88 88' `88 88 `8b. 88' `88 88' `88 88 88 88' `88
Y8. .88 88. .88 88 .88 88. .88 88. .88 88 .8P 88. .88
`88888' `88888P' 88888888P `88888P' `88888P' 8888888P `88888P'
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Downloading Melchior A La Carte - Ib Melchior
Received invalid response
@abolibibelot1980 I sometimes got that error with some of the top-level domains. As a workaround, try changing the domain in "settings.json". I'll look into it further when I get some free time.
I have wanted to do a complete code refactor (error handling code is a mess), but it's not my project, and I'm super busy lately. So experiment little for yourself or be very patient, I guess? It is a team effort, after all. Look at all that forks! Some of them are even real! ;)