I am working on a web scraping project and chosen google app engine to host the script .
I am stucked in sessions . I have written the script using request module but since google appengine doesn't allow to use requests module so I've tried this
from google.appengine.api import urlfetch
r = urlfetch.fetch("http://www.google.com")
data = { 'query' : 'search_query' }
r = urlfetch.fetch("http://www.google.com/search",headers=r.headers,method=urlfetch.POST,payload=data)
I have just given a example of what i trying to accomplish but it seems not working with cookies . The cookies get changed .
I got to know this because the B
value get changed from B=ff09f69f244d862c494236ed3d0c6e1c;
to B=8b18c48e19c0352b52903c49c45a41d1;
which is not meant to be changed.