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


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

Re: Three more weeks of UNIX

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: Three more weeks of UNIX
Date 2015-09-05 19:13 +0000
Organization ok by me, so long as it doesn't get out of hand
Message-ID <fasdnmv83.asdi@rooftop.invalid> (permalink)
References (8 earlier) <fad.viz0@rooftop.invalid> <D20E9D9C.59EA0%usenet@gallopinginsanity.com> <famn83.ap3@rooftop.invalid> <20150905195835.195fdc44@maxa-pc> <20150905203958.4639ce63@maxa-pc>

Show all headers | View raw


Melzzzzz <mel@zzzzz.com> wrote:
> On Sat, 5 Sep 2015 19:58:35 +0200
> Melzzzzz <mel@zzzzz.com> wrote:

>> On Sat, 5 Sep 2015 16:59:50 +0000 (UTC)
>> owl <owl@rooftop.invalid> wrote:
>> 
>> > Snit <usenet@gallopinginsanity.com> wrote:
>> > > On 9/4/15, 12:39 AM, in article fad.viz0@rooftop.invalid, "owl"
>> > > <owl@rooftop.invalid> wrote:
>> > 
>> > > ... 
>> > >>> I am responsible only for my actions, and my actions are honest.
>> > >>> If you wish to believe my weird "fan" club about my "unquotable
>> > >>> lies" then so be it.
>> > >> 
>> > >>> And you have still not shared your script. Why not?
>> > >> 
>> > >> I may post it tomorrow.  I need to try a few things first.
>> > 
>> > > You are spending a LOT more time on yours than I did mine...
>> > 
>> > Because there's apparently a bug in wkhtmltopdf.  (Huge file sizes).
>> > 
>> > > but yours will
>> > > likely also be a lot "cleaner". Mine is a bit of a mess, but as we
>> > > saw it works well.
>> > 
>> > > Once you share yours I will make my video public:
>> > > <https://youtu.be/TH3rKDAAvsc>
>> > 
>> > > Looking at my script again I could have made it a LOT easier.
>> > > Might test that tomorrow and then have a MUCH better script. But
>> > > whatever... it works. :)
>> > 
>> > The code should work on OS X with the zenity stuff commented out.
>> > Curious if the wkhtmltopdf bug is still present in the OS X
>> > version.  At the time it was mentioned, the thing apparently
>> > worked fine for Linux.  Now I'm seeing what appears to be
>> > that same situation that was described for the OS X version,
>> > but on Linux.
>> 
>> Have you tried with --lowquality option?
>> 
>> > 
>> > #!/bin/sh
>> > 
>> > date=`date`
>> > #zenity --notification --text="starting... ${date}"
>> > stime=`date +%s`
>> > 
>> > if [ ! -e ~/Recipes ];then
>> > mkdir ~/Recipes
>> > fi
>> > 
>> > html="$(parallel --no-notice -P 3 -N 3 wget -q {1} {2} {3} ::: \
>> > allrecipes.com -O - \
>> > allrecipes.com/?page=2 -O - \
>> > allrecipes.com/?page=3 -O -)"
>> > 
>> > recipelines=$( echo "${html}" |grep /recipe/ \
>> > |perl -e 'while(<>){ $x=$_;$x=~s/^.*<a href=\"//g;
>> > $x=~s/\".*//g;print $x;}' \ |uniq) 
>> > 
>> > filenames=$(echo "${recipelines}" |cut -f4 -d'/')
>> > 
>> > parallel --no-notice -P 8 -N 1 --xapply \
>> 
>> you should do all at once to hide download latencies....
>> 
>> > wkhtmltopdf -q -n \
>> > http://allrecipes.com/{1}/print/ /home/anon/Recipes/{2}.pdf \
>> > ::: ${recipelines} ::: ${filenames}
>> 
>> try --lowquality option.
>> 

> My link is saturated with just 4 page downloads and it is not
> wkhtml2pdf issue rather network speed. I get 1.4 secs per file,
> but it is not because I do some processing, rather my 8mbit link is
> saturated...

I initially grabbed all the html files, and then processed after that.
Still took 1-1.5 seconds to generate the PDFs from local html.

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


Thread

Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-02 15:43 +0000
  Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-02 17:45 +0200
    Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-02 15:52 +0000
      Re: Three more weeks of UNIX Steve Carroll <fretwizzer@gmail.com> - 2015-09-02 08:54 -0700
        Re: Three more weeks of UNIX dunno <dunno@dunno.dunno> - 2015-09-03 00:12 +0000
      Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-02 18:00 +0200
        Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-02 16:07 +0000
          Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-02 18:40 +0200
            Re: Three more weeks of UNIX chrisv <chrisv@nospam.invalid> - 2015-09-02 12:09 -0500
              Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-02 20:43 +0200
                Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-02 21:19 +0200
                Re: Three more weeks of UNIX ronb <ronbNOSPAM@gmail.com> - 2015-09-02 23:31 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-02 20:36 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-03 09:17 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-03 10:06 -0700
                Re: Three more weeks of UNIX "A.M" <.m@nsn.s> - 2015-09-03 08:47 -0400
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-03 13:22 +0000
                Re: Three more weeks of UNIX "A.M" <.m@nsn.s> - 2015-09-03 10:10 -0400
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-03 09:31 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-03 16:47 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-03 22:29 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-03 23:48 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-04 01:38 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-04 02:50 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-04 04:34 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-03 23:35 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-04 07:39 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-04 01:00 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 16:59 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 17:15 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-05 10:40 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 18:51 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-05 13:09 -0700
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-05 10:39 -0700
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-05 20:03 +0200
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 18:50 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-05 13:16 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 20:52 +0000
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-05 19:58 +0200
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-05 20:39 +0200
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 19:13 +0000
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-05 21:26 +0200
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 19:43 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 19:50 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 19:55 +0000
                Re: Three more weeks of UNIX Steve Carroll <fretwizzer@gmail.com> - 2015-09-05 13:39 -0700
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-05 23:14 +0200
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-05 23:28 +0200
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-06 00:02 +0200
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-06 01:24 +0200
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-06 02:12 +0200
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-06 02:33 +0200
                Re: Three more weeks of UNIX ronb <ronbNOSPAM@gmail.com> - 2015-09-06 01:03 +0000
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-06 03:24 +0200
                Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-06 09:45 +0200
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-06 06:40 +0000
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-06 09:58 -0500
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-06 03:40 +0200
                Re: Three more weeks of UNIX dunno <dunno@dunno.dunno> - 2015-09-06 03:04 +0000
                Re: Three more weeks of UNIX dunno <dunno@dunno.dunno> - 2015-09-06 04:48 +0000
                Re: Three more weeks of UNIX dunno <dunno@dunno.dunno> - 2015-09-06 06:46 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-06 06:14 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-06 07:21 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-06 08:12 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-06 10:09 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-06 10:24 -0700
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-06 09:00 -0500
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-06 10:55 -0700
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-06 18:44 -0500
                Re: Three more weeks of UNIX ronb <ronbNOSPAM@gmail.com> - 2015-09-06 19:24 +0000
                Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-06 21:47 +0200
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-06 09:35 -0500
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-06 12:03 +0200
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-06 21:04 +0000
                Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-06 23:18 +0200
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-06 21:51 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-06 22:37 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-06 23:08 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-06 23:38 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-07 00:10 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-08 09:15 -0700
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-08 09:18 -0700
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-08 10:04 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-09 01:44 +0000
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-09 02:00 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-08 19:05 -0700
                Re: Three more weeks of UNIX "A.M" <.m@nsn.s> - 2015-09-09 09:23 -0400
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-09 09:44 -0700
                Re: Three more weeks of UNIX "A.M" <.m@nsn.s> - 2015-09-09 12:47 -0400
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-09 10:04 -0700
                Re: Three more weeks of UNIX "A.M" <.m@nsn.s> - 2015-09-09 13:15 -0400
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-09 10:28 -0700
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-08 19:00 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-09 02:12 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-08 19:18 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-09 02:30 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-08 19:33 -0700
                Re: Three more weeks of UNIX chrisv <chrisv@nospam.invalid> - 2015-09-08 07:42 -0500
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-08 15:30 +0200
                Re: Three more weeks of UNIX chrisv <chrisv@nospam.invalid> - 2015-09-08 09:05 -0500
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-08 08:02 -0700
                Re: Three more weeks of UNIX "A.M" <.m@nsn.s> - 2015-09-08 12:10 -0400
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-08 09:17 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 22:53 +0000
                Re: Three more weeks of UNIX Melzzzzz <mel@zzzzz.com> - 2015-09-06 01:00 +0200
                Re: Three more weeks of UNIX vallor <vallor@cultnix.org> - 2015-09-07 00:10 +0000
                Re: Three more weeks of UNIX Melzzzzz <melz@zzzzz.com> - 2015-09-07 02:12 +0200
                Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-06 01:04 +0200
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-05 12:45 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 19:48 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-05 13:20 -0700
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-05 13:38 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 19:10 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-05 12:48 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-05 19:53 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-05 13:26 -0700
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-04 09:28 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-04 04:52 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-03 23:48 -0700
                Re: Three more weeks of UNIX dunno <dunno@dunno.dunno> - 2015-09-04 05:13 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-03 23:49 -0700
                Re: Three more weeks of UNIX dunno <dunno@dunno.dunno> - 2015-09-04 07:34 +0000
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-04 00:48 -0700
                Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-05 10:09 +0200
                Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-06 09:42 +0200
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-06 07:49 +0000
                Re: Three more weeks of UNIX ronb <ronbNOSPAM@gmail.com> - 2015-09-06 19:26 +0000
                Re: Three more weeks of UNIX chrisv <chrisv@nospam.invalid> - 2015-09-08 07:34 -0500
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-08 08:31 -0700
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-03 09:33 -0700
                Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-03 16:48 +0000
                Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-05 10:08 +0200
                Re: Three more weeks of UNIX Snit <usenet@gallopinginsanity.com> - 2015-09-05 13:36 -0700
                Re: Three more weeks of UNIX Steve Carroll <fretwizzer@gmail.com> - 2015-09-03 11:45 -0700
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-05 01:26 -0500
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-05 02:27 -0500
                Re: Three more weeks of UNIX ronb <ronbNOSPAM@gmail.com> - 2015-09-02 23:30 +0000
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-05 02:15 -0500
                Re: Three more weeks of UNIX ronb <ronbNOSPAM@gmail.com> - 2015-09-05 21:19 +0000
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-07 04:39 -0500
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-05 01:15 -0500
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-05 02:12 -0500
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-05 02:26 -0500
                Re: Three more weeks of UNIX ronb <ronbNOSPAM@gmail.com> - 2015-09-05 21:21 +0000
                Re: Three more weeks of UNIX Nobody <nobody@invalid.com> - 2015-09-07 04:46 -0500
                Re: Three more weeks of UNIX DFS <nospam@dfs.com> - 2015-09-07 10:18 -0400
              Re: Three more weeks of UNIX cc <scatnubbs@hotmail.com> - 2015-09-03 04:27 -0700
                Re: Three more weeks of UNIX DFS <nospam@dfs.com> - 2015-09-03 09:26 -0400
                Re: Three more weeks of UNIX "A.M" <.m@nsn.s> - 2015-09-03 10:37 -0400
            Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-02 20:40 +0200
              Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-02 21:17 +0200
                Snit Michael Glasser unable to do simple search Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-02 23:02 +0200
                Re: Snit Michael Glasser unable to do simple search hifye <hifye@humanoid.net> - 2015-09-02 17:10 -0400
                Re: Snit Michael Glasser unable to do simple search Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-03 01:09 +0200
                Re: Peter Köhlmann admits he has no clue what he is talking about "A.M" <.m@nsn.s> - 2015-09-02 17:50 -0400
                Re: Peter Köhlmann admits he has no clue what he is talking about Nobody <nobody@invalid.com> - 2015-09-05 01:17 -0500
              Re: Three more weeks of UNIX JEDIDIAH <jedi@nomad.mishnet> - 2015-09-03 12:02 -0500
                Re: Three more weeks of UNIX chrisv <chrisv@nospam.invalid> - 2015-09-03 13:02 -0500
                Re: Three more weeks of UNIX JEDIDIAH <jedi@nomad.mishnet> - 2015-09-03 13:16 -0500
      Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-02 20:42 +0000
  Re: Three more weeks of UNIX John Gohde <john.h.gohde@gmail.com> - 2015-09-02 09:08 -0700
  Re: Three more weeks of UNIX Peter Köhlmann <peter-koehlmann@t-online.de> - 2015-09-02 20:35 +0200
    Re: Three more weeks of UNIX dunno <dunno@dunno.dunno> - 2015-09-03 00:12 +0000
      Re: Three more weeks of UNIX dunno <dunno@dunno.dunno> - 2015-09-03 01:07 +0000
        Re: Three more weeks of UNIX dunno <dunno@dunno.dunno> - 2015-09-03 01:39 +0000
  Re: Three more weeks of UNIX cc <scatnubbs@hotmail.com> - 2015-09-03 04:28 -0700
  Re: Three more weeks of UNIX Debbie Ballard <rex.ballard@gmail.com> - 2015-09-03 21:10 -0700
    Re: Three more weeks of UNIX owl <owl@rooftop.invalid> - 2015-09-04 04:55 +0000

csiph-web