Replies: 40 comments
-
some time i get so many error like bellow
or time out to get an image (that image open in browser easily )
Side note : i can't send a PR get no permission error with 403. i try to move oldest article to the top of script as config variable. UPDATE 1: cleaner remove some part of Article. for example most of this article missing. UPDATE 2: if you have so many item on your list (more than 1000) and auto_cleanup = False |
Beta Was this translation helpful? Give feedback.
-
Hmm... it seems that your workflow is different than mine. I'm not generating these huge books with so many articles, so I'm not sure how the plugin will behave (or likely there will be problems like you describe). I usually generate short (~50 articles) ebooks, I guess of a size a few MB. This is the environment I'm testing the plugin, and I'm not getting the errors. For now, I have no time to test different environment and I will focus on keeping the plugin alive in this minimalistic form. You can also try to rethink your workflow into more books of smaller size, as I commented also here #19. Yeah, I also noticed that not all articles are formatted correctly, but I'm not sure where is a problem, in Calibre or in the plugin itself. For now, I accept that the plugin works for most articles. Of course, I will be more than happy to accept any PR with improvements for all mentioned issues :-) |
Beta Was this translation helpful? Give feedback.
-
What I think would be cool with the current tags system to fetch all of your tags, and process automatically your My List (Inbox) Pocket without explicitly providing any tags. Scenario: You go around on the Internet, you collect articles and tag them, and then you fetch them. Pocket will detect all these tags and automatically process a new book with these tags. I'm just not sure how to get all the tags, but maybe this is not that hard. |
Beta Was this translation helpful? Give feedback.
-
What is more annoying is that the titles of articles are often missing. |
Beta Was this translation helpful? Give feedback.
-
Eh, ok, I see that there are still some errors with sort_id. I think I have a fix for now. However, still, when I crazy play with the settings often the result is not what I expected... something is missing in the code.. or we have to limit number of options to something that is reliable. |
Beta Was this translation helpful? Give feedback.
-
Hey @mmagnus , I gave v2.3.1 a go and found a couple of things:
Regards |
Beta Was this translation helpful? Give feedback.
-
https://github.com/mmagnus/Pocket-Plus-Calibre-Plugin/releases/tag/v2.3.2
|
Beta Was this translation helpful? Give feedback.
-
Ad 1. Yeah, I kind of what this option does... but now I realized that this is what was missing in my last post. My problem was that I could get only articles very recently added to my Pocket but this is exactly when my setting could be used. Now when I set:
I get exactly what I want, all articles on, for example, So I cancel my previous post, I think now the plugin works as configured. I moved this option to the top of the file and documented it. Ad 2. Yeah, this works as intended. Maybe the name is confusing, but now 'Untagged' are all articles that are NOT configured with TAGS options. This is to same extend good name, but it's confusing with tags of Pocket. This is why I wrote the post that it would be interesting to pull all tags from Pocket into TAGS and then Untagged articles would be really untagged. I change this because 'The latest' was also confusing, maybe "Misc', or 'The rest', I'm not sure. So, for now, this is untagged in a sense to be tagged or untagged with the TAGS options. Or do you guys have a better name? What do you think about the automatic extraction of all tags from Pocket? BTW now I think I fixed sort_id issue. I believe that for whatever reason for some downloaded articles this sort_id is missing. So at the moment, the plugin will just skip these articles, thus it will not crash. |
Beta Was this translation helpful? Give feedback.
-
WOW, I was able to do it! The implementation is ugly.. but works (for me at least). https://github.com/mmagnus/Pocket-Plus-Calibre-Plugin/releases/tag/v2.4.0 No need for extra configuration of tags. if TAGS = [] (empty list) then the plugin will connect Pocket and fetch articles based on the configuration of the plugin. Next, the plugin will get tags of these articles and group them into sections in the final ebook. If TAGS has elements, e.g., TAGS = ['tag1', 'tag2'] then only these tags will be fetched from Pocket. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/mmagnus/Pocket-Plus-Calibre-Plugin/releases/tag/v2.4.1 |
Beta Was this translation helpful? Give feedback.
-
is it possible to get specific tag and untag item? |
Beta Was this translation helpful? Give feedback.
-
I'm not sure what you mean, but it this will do the job:
UPDATE: I got exactly that:
|
Beta Was this translation helpful? Give feedback.
-
or you want to get an article and untag it (so remove a tag for this article? = so the article has no tag)? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have been trying to find a way to fix missing titles. I got to a page with some extra info on plugins [1], and there was info on how to debug the plugin and how to run it from the terminal. And then EUREKA! This is what we want to be able to run this script in the background. I also felt annoying to open Calibre to send me some news whenever I want to read them. I hacked also some Python script [2] that sends a binary file using Gmail to Amazon, works perfectly! (For Gmail you have to change settings to "Less secure connection", or find another way to send this file to Amazon).
[1] https://manual.calibre-ebook.com/news.html |
Beta Was this translation helpful? Give feedback.
-
@alvaroreig yeah, thanks for the suggestion, this is so great!
works! |
Beta Was this translation helpful? Give feedback.
-
OK, I asked Kovid Goyal [email protected] to take a look at the code, maybe he can help with the missing titles #22 |
Beta Was this translation helpful? Give feedback.
-
BTW I developed a hacky way to trigger the plugin from your phone saying to Siri https://github.com/mmagnus/Pocket-Plus-Calibre-Plugin/tree/master/push I guess for Android phones something similar can be hacked :-) |
Beta Was this translation helpful? Give feedback.
-
https://github.com/mmagnus/Pocket-Plus-Calibre-Plugin/tree/master/pocketX I think this might be interesting for some of you. We all have different workflows, but this version of pocket and recipes so far is amazing for me dealing with paywall journals and some more complex ways how to process web pages. |
Beta Was this translation helpful? Give feedback.
-
I think I fixed missing title with postprocess_html() Works for me for now. |
Beta Was this translation helpful? Give feedback.
-
I coded adding URL to pocketx.recipe . This is pretty cool. You can use Kindle Browser to go the page and see for example full page with comments. Pretty useful. |
Beta Was this translation helpful? Give feedback.
-
I also coded auto tags assignment based on URLs.
this will assign given tags to articles with given URLs. |
Beta Was this translation helpful? Give feedback.
-
My plan now is to add QR code for this to be able to view any content on my phone, for example, YouTube video. |
Beta Was this translation helpful? Give feedback.
-
WORKS!!!!!!!!!!!!!! |
Beta Was this translation helpful? Give feedback.
-
Calibre is using its own Python, so you have to add something like this to import qrcode
|
Beta Was this translation helpful? Give feedback.
-
Ok, I see adding titles and URLs not always work. I'll try to fix it. |
Beta Was this translation helpful? Give feedback.
-
OK, I pushed my changes regarding URL and QR. |
Beta Was this translation helpful? Give feedback.
-
Hi there @mmagnus I just updated to 2.6.2 and I can't see the url or the QR. Are you sure? By the way, the recipe fails to download images in one of my favorite webpages:
Thanks, regards |
Beta Was this translation helpful? Give feedback.
-
@alvaroreig @Monirzadeh @TheKiteRunning the plugin had a few problems, now they are fixed, I hope you will all guys enjoy it more
Beta Was this translation helpful? Give feedback.
All reactions