• You are not logged in.

#1 July 10, 2017 12:06:02

goldpig
Registered: 2017-07-10
Posts: 1
Reputation: +  0  -
Profile   Send e-mail  

Extracting data from url structure

Hello, how would you extract data directly from the url input into the application? Right click shows no options.

Example:
BASE URL - https://www.tripadvisor.com/Restaurants-g28922
END URL - https://www.tripadvisor.com/Restaurants-g61001

I then need to match the gVALUE e.g. g28922 to the location that the url resolves to..

https://www.tripadvisor.com/Restaurants-g28922 becomes https://www.tripadvisor.com/Restaurants-g28922-Alabama.html

so in database it would have g28922 is Alabama
g38922 is Mulvane, Kansas and so on…


is this possible?

Edited goldpig (July 10, 2017 12:08:55)

Offline

Board footer

Moderator control

Powered by DjangoBB