Thread: debug mechanize
View Single Post
Old 05-12-2020, 03:40 AM   #1
Kleki
Connoisseur
Kleki doesn't litterKleki doesn't litter
 
Posts: 58
Karma: 192
Join Date: Mar 2009
Location: Cologne area, Germany
Device: Pocketbook Touch HD3 (+ an old Hanlin V3)
debug mechanize

Hi,

I tried to add a login to the FAZ recipe. The added code seems to work in principle. I had some error messages related to syntax I was able to fix. When I change the form ID to something other than the actual ID I get an error message, so I believe the form is processed.

However, the downloaded news are the ones for not logged in users (only showing the first couple of paragraphs).

Is there a way to log what is sent forth and back between Calibre and the news site, the http requests and responses? Can I view the saved cookies somewhere?

Appreciate any hint on how to debug my recipe.
Kleki is offline   Reply With Quote