Open GoogleCodeExporter opened 9 years ago
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 todd.d...@gmail.com
on 2 Feb 2014 at 5:08
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 todd.d...@gmail.com
on 3 Feb 2014 at 7:08
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 todd.d...@gmail.com
on 3 Feb 2014 at 7:11
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 scottsem...@gmail.com
on 6 Feb 2014 at 10:29
Original issue reported on code.google.com by
meggr...@gmail.com
on 1 Feb 2014 at 2:06