This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| ''' | |
| By just doing a HEAD operation, we can look at the location returned and extract game system and title: | |
| $ curl -i --head "https://www.pricecharting.com/search-products?type=videogames&q=096427015055" | |
| HTTP/2 307 | |
| content-type: text/html; charset=utf-8 | |
| location: https://www.pricecharting.com/game/nintendo-ds/cooking-mama-2-dinner-with-friends?q=096427015055 | |
| x-appengine-log-flush-count: 0 | |
| x-cloud-trace-context: 95201b263e270f913954a519333070f4 |