Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: HOWTO: Crossword download/print system

  1. #11
    Join Date
    Nov 2005
    Location
    Pune, India
    Beans
    838
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Crossword download/print system

    Just a quick word. I dunno if you guys know but Ubuntu is using dash instead of bash nowadays. it just uses less resources. See if it can be done using dash.

    Regards,
    Registered Linux user #468829

    http://flossexperiences.wordpress.com

  2. #12
    Join Date
    Jun 2006
    Beans
    63

    Re: HOWTO: Crossword download/print system

    Here's my messy little script that works.

    Code:
    #create the filename for the current date
    date="`date '+%b%d%y.puz'`"
    
    cookie_loc="`locate cookies.txt | grep firefox`"
    cd /tmp
    wget --load-cookies $cookie_loc http://select.nytimes.com/premium/xword/$date
    /home/jeffrey/.xword-1.0/xword $date
    You'll have to alter the last line to point to wherever you have xword installed.

    I put it in my nautilus scripts folder.

    Of course, you'll need a NY Times crossword subscription with a current cookie for this to work.

  3. #13
    Join Date
    Mar 2008
    Beans
    1

    Re: HOWTO: Crossword download/print system

    Quote Originally Posted by jgordon510 View Post
    Here's my messy little script that works.

    Code:
    #create the filename for the current date
    date="`date '+%b%d%y.puz'`"
    
    cookie_loc="`locate cookies.txt | grep firefox`"
    cd /tmp
    wget --load-cookies $cookie_loc http://select.nytimes.com/premium/xword/$date
    /home/jeffrey/.xword-1.0/xword $date
    You'll have to alter the last line to point to wherever you have xword installed.

    I put it in my nautilus scripts folder.

    Of course, you'll need a NY Times crossword subscription with a current cookie for this to work.
    Does this actually work? I have been trying to do this on OSX and debian, and it just links me to the "glogin" page and downloads that instead.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •