4 ms·
Ok, mission accomplished methinks: >>> x = re.compile("[\\?&](seller|item|hr)=([^&#]*)") >>> x.findall(url) [('item', '290277158797'), ('seller', 'la-wheel-a
by matth 18y ago
Ok, mission accomplished methinks:
>>> x = re.compile("[\\?&](seller|item|hr)=([^&#]*)")
>>> x.findall(url)
[('item', '290277158797'), ('seller', 'la-wheel-and-tire'), ('hr', 'http://shop.ebay.com/?_from=R40' http://shop.ebay.com/?_from=R40')]