View Single Post
Old 08-04-2022, 11:06 AM   #10
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,221
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
If the same url is returning different results from the browser vs calibre, then it has to be some sort of bot detection causing the errors.

I tried this:

Code:
calibre-debug -c 'from calibre import browser; br = browser(); import sys; print(br.open(sys.argv[-1]).read().decode())' 'https://webcache.googleusercontent.com/search?q=cache:5bpEhP6UzRUJ:https://www.amazon.com.br/As-vinhas-...&ct=clnk&gl=br'
and it printed out the cached webpage for me.
It prints for me too.
thiago.eec is offline   Reply With Quote