mercari-python-api
mercari-python-api copied to clipboard
Page parser does not work
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 possible that they changed a bit the layout of their website..