Re: [google-appengine] How to force urllib2 to fetch newly files.

2010-12-12 Thread Toomore
someone like this:
http://www.twse.com.tw/ch/trading/exchange/STOCK_DAY/STOCK_DAY_print.php?genpage=genpage/Report201012/201012_F3_1_8_8261.php&type=csv&r=72560


which is about Taiwan stock data.(stock no is 8261)


If I fetch more times in one day, it can't to fetch the newly data,
even if the stock is close.
I also add random no. at the end of URL, but can not work.


Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] How to force urllib2 to fetch newly files.

2010-12-09 Thread Ikai Lan (Google)
Which URL are you fetching? Could it be possible they are caching this on
their side?

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 8, 2010 at 11:25 AM, Toomore  wrote:

> I have a problem about useing urllib2 to fetch files.
> If I use urllib2 to fetch a file more times in one day, when the files is
> update, useing urllib2 is still fetch old files.
>
> So how do I force urllib2 to fetch newly files.
> Now I have added random no. at the end of URL, but it still fetch old
> files.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How to force urllib2 to fetch newly files.

2010-12-08 Thread Toomore
I have a problem about useing urllib2 to fetch files.
If I use urllib2 to fetch a file more times in one day, when the files
is update, useing urllib2 is still fetch old files.

So how do I force urllib2 to fetch newly files.
Now I have added random no. at the end of URL, but it still fetch old
files.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.