~lioploum/offpunk-users

1

Question about embedded pictures

Details
Message ID
<a1d57858-a29b-474c-a45d-03aa6371a835@netc.eu>
DKIM signature
pass
Download raw message
Hello Ploum and happy offpunk users,

I’ve got a question about offpunk use : I would like offpunk to fetch 
articles without embedded pictures.

Is it possible ? I tried "offpunk --images-mode None" but it seems it 
does not strip embedded pictures away (actually I don’t know what this 
"none" mode changes)

Context : I have a little script that use offpunk as a premium tool to 
get articles and send them to my ebook reader. But my script melts when 
there are embedded pictures. I could share this script later if it is of 
interest for other people of course, need to make it smoother yet.

Thanks for your help !

YG
Details
Message ID
<171474944592.7.2879609821980068736.322362911@ploum.eu>
In-Reply-To
<a1d57858-a29b-474c-a45d-03aa6371a835@netc.eu> (view parent)
DKIM signature
pass
Download raw message
On 24 mai 01 06:50, Y G wrote:
>Hello Ploum and happy offpunk users,
>
>I’ve got a question about offpunk use : I would like offpunk to fetch
>articles without embedded pictures.
>
>Is it possible ? I tried "offpunk --images-mode None" but it seems it
>does not strip embedded pictures away (actually I don’t know what this
>"none" mode changes)

In theory, --images-mode=none ask offpunk to not download any pictures 
during synchronisation.

But if pictures are already present in the cache, they will be 
displayed.

It is possible that there’s a bug in this code and that image are still 
downloaded. If it is the case, then please report a bug with an example 
of a given page with picture where offpunk download the picture despite 
being asked to not do it.
>
>
>

-- 
Ploum - Lionel Dricot
Blog: https://www.ploum.net
Livres: https://ploum.net/livres.html
Reply to thread Export thread (mbox)