mercari-python-api icon indicating copy to clipboard operation
mercari-python-api copied to clipboard

Page parser does not work

Open fireattack opened this issue 3 years ago • 1 comments

Hi, I wish I can give a better title, but most of functions don't seem to work.

Take mercari_api.get_item_info as a example:

from mercari import Mercari

mercari_api = Mercari()

print(mercari_api.get_item_info('https://www.mercari.com/jp/items/m88046246209/'))

It would throw error at mercari.py:63, because there is no section.item-box-container in HTML.

I can visit the site just fine, but it looks to me the HTML does not contain any info and the actual data is retrieved via a separate API call (which involves some "DPoP" auth even when visiting as a guest).

fireattack avatar Mar 14 '22 22:03 fireattack

@fireattack possible that they changed a bit the layout of their website..

philipperemy avatar May 11 '22 06:05 philipperemy