Closed niqdev closed 7 years ago
Isn't this about the Gmail notification? Looks like the file was uploaded. It also gets the file information from the claim page, so nothing was changed there.
Ah, it's a typo *= instead of +=. Sorry, I can fix it, bit it might take to next email.
yep, sorry, the problem is not the upload but with firebase. Just checked now and the ebook is on drive.
By the way Firebase option depends on Drive option
Just few questions about the newsletter
-w
or --newsletter
The script runs daily at 6 and checks if there is a mail with the label. If there is no new newsletter, it does nothing. If there is one and it has a free book URL, the spreadsheet is updated, of there is no URL (like now) the spreadsheet is cleared. The gist is up to date.
HandleClaim is only called after a book was successfully claimed. There is no reason to call packtpub.py or handleClaim when there is no new newsletter.
I really don't see why. There is no difference between those one the daily books, just how there are distributed. Who would want the daily books but not the additional ones?
Link to online version of newsletter: http://us11.campaign-archive2.com/?u=693897ba2220b83ddb807103a&id=744b167654&e=3cbd391791
raw: https://gist.github.com/juzim/7ecab774e2435a86c5948ce99e456581
Ok for all the points and thanks for the link, probably I didn't explain well point 2, I meant just refactor the method inside the main
.
Anyway I will leave the issue open, if you agree, until we can't test again with the firebase option
Already fixed. Obsolete
@juzim The ebook downloaded from the newsletter can't be uploaded to drive or stored on firebase and break the script, I would suggest at least to change the newsletter feature to optional i.e. add
--newsletter
or-n
as parameter