Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #318680

Re: Ping Owl: Saving a bunch of recipes to PDF

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: Ping Owl: Saving a bunch of recipes to PDF
Date 2015-09-02 20:05 +0000
Organization ok by me, so long as it doesn't get out of hand
Message-ID <fsan9.kfdai@rooftop.invalid> (permalink)
References <D20BEB0D.59A87%usenet@gallopinginsanity.com> <fasdfnv83.jiasd@rooftop.invalid> <D20C5D3C.59B23%usenet@gallopinginsanity.com> <famci93.jidf@rooftop.invalid> <D20C87E6.59BA7%usenet@gallopinginsanity.com>

Show all headers | View raw


Snit <usenet@gallopinginsanity.com> wrote:
> On 9/2/15, 8:09 AM, in article famci93.jidf@rooftop.invalid, "owl"
> <owl@rooftop.invalid> wrote:

>> Snit <usenet@gallopinginsanity.com> wrote:
>>> On 9/2/15, 7:45 AM, in article fasdfnv83.jiasd@rooftop.invalid, "owl"
>>> <owl@rooftop.invalid> wrote:
>> 
>>>> Snit <usenet@gallopinginsanity.com> wrote:
>>>>> You moved goal posts and asked about saving a bunch of recipes to PDF.
>>>> 
>>>>> Well, I played for a bit. The ONLY changes I made to my computer to do this
>>>>> was to add Paparazzi to my dock so I could get to it easily and, as I
>>>>> opened
>>>>> it the first time (not shown) it asked if I wanted to update so I did. I
>>>>> also set Paparazzi's save folder to the Recipe folder we have been looking
>>>>> at.
>>>> 
>>>>> Other than that NO changes. No added scripts. No added extensions. No added
>>>>> anything.
>>>> 
>>>>> <http://youtu.be/c65ojXTxynU>
>>>> 
>>>>> In under 3 minutes I was able to save all the recipes on the allrecipes.com
>>>>> homepage to my computer as PDFs... including getting the print version so
>>>>> they would look good. To be fair: that was my second attempt. With my first
>>>>> I goofed on a search and replace and instead of just undoing I started from
>>>>> scratch to "look good" on the video.
>>>> 
>>>>> Not a hard challenge at all. :)
>>>> 
>>>> OMG you have got to be kidding me!  LOL!
>>>> I was going to show you this improvement to teh "workflow":
>>>> 
>>>> https://vid.me/flKe
>> 
>>> You ended up with *three* in about 30 seconds. Say some is starting and
>>> ending... we will say one every 5 seconds.
>> 
>>> I did about 80 in about 2 minutes...
>> 
>> Bullshit.

> I show it in the video... NO added scripts for me. You did yours without
> showing the scripting time.

On that one there is no point to show scripting time.  You have to click
on the recipes.  Time depends on how fast you click.  By the time i've
clicked on three recipes and copied the links, when I look in the directory
the PDFs are there.  

The other script below which is completely automated *does* show time.
It grabbed and converted the 20 files from the page in 70 seconds.
After you said something about the page continuing to scroll, I when
back checked it, scrolling to the maximum.  There is a maximum of 59
files.  I re-did the script to account for that, and get all 59 files
converted in 252 seconds:

https://vid.me/Eo1d

(It's boring, but then automation is not supposed to be interesting;
it's supposed to be strealined and efficient, with productivity and
error reduction and all that).

Still not fast as I would like it.  There's a bottleneck with the
conversion utility.  I'm working at getting it to parallelize with
xargs, but it's been complaining so far.  We'll see.

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Ping Owl: Saving a bunch of recipes to PDF owl <owl@rooftop.invalid> - 2015-09-02 14:45 +0000
  Re: Ping Owl: Saving a bunch of recipes to PDF owl <owl@rooftop.invalid> - 2015-09-02 15:09 +0000
    Re: Ping Owl: Saving a bunch of recipes to PDF owl <owl@rooftop.invalid> - 2015-09-02 20:05 +0000
      Re: Ping Owl: Saving a bunch of recipes to PDF owl <owl@rooftop.invalid> - 2015-09-03 11:27 +0000

csiph-web