You are not logged in.

Change Language:

Freelancer? Consultant? Check out: WorkTrail - Time Tracking made easy
Board » Django » Python Programming » parsing

hello!

I'm doing web application in django in which I have to make search option that will find on other web page some product(for example) and that product will have to been seen on my page.. now I don't know where to start with programming.. I know I must parse that other page but I don't have idea how to do that.. can someone help me with understanding what I have to do exactly?!

Thanks!
hello!

I'm doing web application in django in which I have to make search option that will find on other web page some product(for example) and that product will have to been seen on my page.. now I don't know where to start with programming.. I know I must parse that other page but I don't have idea how to do that.. can someone help me with understanding what I have to do exactly?!

Thanks!
chapter 7 in django book
there is an example about getting search query from the URL
maybe it's useful for you
the code is here:

def search(request):
if 'q' in request.GET:
message = 'You searched for: %r' % request.GET['q']
else:
message = 'You submitted an empty form.'
return HttpResponse(message)





Powered by Sphene Community Tools