View Single Post
Old 12-27-2020, 07:50 PM   #3
wiggida
Member
wiggida began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite
Update

Update: I found this thread & have been fiddling with the Taz Digiabo code
https://www.mobileread.com/forums/sh....php?p=3849639

Can someone tell me what "realm" should be - I think this is from the original taz digiabo code

domain = "https://www.themonthly.com.au"

url = domain + "/ebook/"

auth_handler = HTTPBasicAuthHandler()
auth_handler.add_password(realm='TAZ-ABO',
uri=url,
user=self.username,
passwd=self.password)
opener = build_opener(auth_handler)


I think my highlight on the below shows I'm close to getting it to work, but the code is falling over somewhere, the output is as shown - a bunch of HTML, it doesn't seem to be logging in / finding the epub file.

Any tips? Many thanks
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2020-12-28 at 11.46.00 am.png
Views:	81
Size:	579.7 KB
ID:	184296  
wiggida is offline   Reply With Quote