GithubHelp home page GithubHelp logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Looks like the URL has changed as of last monday, it is now i.e. 
http://www.cruciverb.com/puzzles/lat/lat140202.puz

I didn't get a Newsweek puzzle today either, I'll check into that.

Original comment by [email protected] on 2 Feb 2014 at 5:08

from shortyz.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Ok, LAT is the one puzzle I do every day, so it seems like as good a time as 
any for me to play around with some Android development...

It looks like the puzzles are still in the same place, they just changed the 
prefix.  I was able to download all puzzles from Jan 24 - Feb 3 with this (up 
to Jan 26 both prefixes work, but afterwards only 'la' works).

I also updated the headers based on what I saw in the packet capture.  If I use 
'Accept-Encoding' it fails - I didn't look into it but I assume it obliges and 
sends us a compressed version which we don't handle properly...  I just 
commented it out for now.

diff -r 1ba821b4825c shortyz/src/com/totsp/crossword/net/LATimesDownloader.java
--- a/shortyz/src/com/totsp/crossword/net/LATimesDownloader.java        Mon Aug 
05 00:53:07 2013 +0100
+++ b/shortyz/src/com/totsp/crossword/net/LATimesDownloader.java        Mon Feb 
03 02:02:16 2014 -0500
@@ -18,13 +18,13 @@
                nf.setMinimumIntegerDigits(2);
                nf.setMaximumFractionDigits(0);
                headers.put("Accept","*/*");
-               headers.put("Accept-Charset", "ISO-8859-1,utf-8;q=0.7,*;q=0.3");
                headers.put("Accept-Language", "en-US,en;q=0.8");
+               // headers.put("Accept-Encoding", "gzip,deflate,sdch");
                headers.put("Connection", "keep-alive");
                headers.put("Host", "cdn.games.arkadiumhosted.com");
                headers.put(
                                "Referer",
-                               
"http://cdn.games.arkadiumhosted.com/latimes/games/daily-crossword/game/crosswor
d-expert.swf");
+                               
"http://cdn.games.arkadiumhosted.com/latimes/games/daily-crossword/game/daily-cr
ossword");
                headers.put("Content-Length", "0");

        }
@@ -44,7 +44,7 @@

        @Override
        protected String createUrlSuffix(Date date) {
-               return "puzzle_" + (date.getYear() - 100)
+               return "la" + (date.getYear() - 100)
                                + nf.format(date.getMonth() + 1) + nf.format(date.getDate())
                                + ".xml";
        }

Original comment by [email protected] on 3 Feb 2014 at 7:08

from shortyz.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Here are the packet headers from the LAT flash app, I'm using chrome 33 beta.

GET /latimes/assets/DailyCrossword/la140203.xml HTTP/1.1
Host: cdn.games.arkadiumhosted.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/33.0.1750.58 Safari/537.36
Accept: */*
Referer: http://games.latimes.com/games/daily-crossword/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8

Original comment by [email protected] on 3 Feb 2014 at 7:11

from shortyz.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
As of 2:28 pm PDT, I am still unable to download LA Times puzzles, and I've 
already uninstalled and reinstalled the app. I am able to download USA Today 
puzzles, so the app does work on my phone.

Original comment by [email protected] on 6 Feb 2014 at 10:29

from shortyz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.