Closed xOscarDelta closed 4 months ago
It can pull from other country
const vintedMonitor = new VintedMonitor('https://www.vinted.co.uk');
vintedMonitor.useSelenium(true);
Using selenium is required for now, i will try to fix the API for other country in this week. It is the only setup that works for now.
And the vinted.configure
can be quite acting weird for now as well (i need to scrape other country dataset) use something along the way for the best result for now, use only those parameters: (you can put whatever you want inside tho, brands dataset should work on all vinted domains)
await vintedMonitor.configure({
search_text: 'Sweatshirt M',
order: 'newest_first', // Ensures that the monitor fetches the newest items available.
brands: ['Nike', 'Adidas'], // Specify brands to monitor.
priceFrom: 10, // Set minimum price filter.
priceTo: 100 // Set maximum price filter.
});
I need to setup some servers to scrape other country dataset it might takes some time before this gets upgraded.
The two last commits have fixed the API not working for different country. You can now choose between API or Selenium.
8d958f2
@xOscarDelta 32fab01 All countries have been added normally especially www.vinted.co.uk, it should work don't forget to clone again and modify the .env to your liking to configure.
Do you know of any way to change the monitor to pull from other vinted websites (UK)?