![]() |
#1 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite
|
![]()
Hi
Can someone point me in the right direction of setting up a scheduled download for a file which is already an *.epub? This is the website: https://www.themonthly.com.au/ebook You need to login to get behind the paywall, but then you can see the epub files ready to download. I have been manually downloading & emailing via calibre. I would like to create a recipe similar to those for RSS feeds, to auto download this file & email to my Kindle. Can anyone point me in the right direction? Many thanks |
![]() |
![]() |
![]() |
#2 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite
|
I should have added - I have spent ages digging through the forums, and haven't found anything useful. I might be using the wrong search terms? I know enough about coding to be dangerous, but that's about it....
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() 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 |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I highly doubt that website uses http basic for auth. You will need to use the form based login.
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite
|
I’m not sure what that means? Can you show me how to access the form based login?
Many thanks! |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
See get_browser() here: https://manual.calibre-ebook.com/new...l-life-example
you will need to adapt it to use whatever form is on the website you are using. |
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite
|
I'm getting this error:
TypeError: get_browser() missing 1 required positional argument: 'self' But I can't work out what the error is. I've only ever learnt to program in Fortran (!) so I'm feeling a bit in the dark here. I don't know if it's obvious to you what's going wrong from the copy & paste below? It's my mashup of the Taz Digiabo & the get_browser you referenced?? Many thanks! Spoiler:
Last edited by PeterT; 12-28-2020 at 05:01 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Download all custom recipes (not only scheduled ones) | bobodude | Recipes | 2 | 09-12-2019 11:54 AM |
Auto Retry if Scheduled download fails | stevesout | Calibre | 1 | 03-14-2018 11:26 PM |
Scheduled news download epub contains massive TOC button | wear_a_helmet | Library Management | 4 | 11-10-2012 12:31 PM |
Guardian scheduled download failing | nickd | Recipes | 2 | 04-10-2011 04:35 AM |
scheduled download of periodicals | naskoboy | Library Management | 1 | 03-01-2011 05:40 PM |