Skip to content

Instantly share code, notes, and snippets.

View wintrdotcom's full-sized avatar

Wintr wintrdotcom

View GitHub Profile
@wintrdotcom
wintrdotcom / ETSY_PRODUCT_DETAILS_wintr_example.js
Last active September 7, 2020 12:36
Scrape Etsy product details, get a free WINTR API key on https://www.wintr.com
const WINTR_API_KEY = "your_wintr_api_key"
const TARGET_URL = "https://www.etsy.com/listing/805495289"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / ETSY_PRODUCT_LIST_wintr_example.js
Last active September 7, 2020 12:36
Scrape Etsy product list, get a free WINTR API key on https://www.wintr.com
const WINTR_API_KEY = "your_wintr_api_key"
const TARGET_URL = "https://www.etsy.com/search?q=phone"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / LEBONCOIN_LISTING_DETAILS_wintr_example.js
Last active March 11, 2021 12:59
Scrape Leboncoin listing details, get a free WINTR API key on https://www.wintr.com
const WINTR_API_KEY = "your_wintr_api_key"
const TARGET_URL = "https://www.leboncoin.fr/ameublement/1839899960.htm"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / LEBONCOIN_LISTING_LIST_wintr_example.js
Last active March 11, 2021 12:59
Scrape Leboncoin listing list, get a free WINTR API key on https://www.wintr.com
const WINTR_API_KEY = "your_wintr_api_key"
const TARGET_URL = "https://www.leboncoin.fr/recherche/?text=phone"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / WALMART_PRODUCT_DETAILS_wintr_example.js
Last active September 7, 2020 12:36
Scrape Walmart product details, get a free WINTR API key on https://www.wintr.com
const WINTR_API_KEY = "your_wintr_api_key"
const TARGET_URL = "https://www.walmart.com/ip/Straight-Talk-LG-Journey-Smartphone/876424312"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / WALMART_PRODUCT_LIST_wintr_example.js
Last active December 15, 2021 11:31
Scrape Walmart product list, get a free WINTR API key on https://www.wintr.com
const WINTR_API_KEY = "your_wintr_api_key"
const KEYWORD = "phone"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": "https://www.walmart.com/search?q=" + KEYWORD,
@wintrdotcom
wintrdotcom / WALMART_PRODUCT_LIST_wintr_savedrequest.json
Last active December 15, 2021 11:31
Scrape Walmart product list by importing this JSON file into your WINTR dashboard on https://www.wintr.com/dashboard-querybuilder
{
"method": "GET",
"url": "https://www.walmart.com/search?q=phone",
"jsrender": true,
"outputschema": {
"list": {
"group": "section:has(div[data-item-id]) div[data-item-id]",
"data": {
"name": {
"selector": "div[data-item-id] > a[link-identifier]",
@wintrdotcom
wintrdotcom / WALMART_PRODUCT_DETAILS_wintr_savedrequest.json
Created September 6, 2020 22:52
Scrape Walmart product details by importing this JSON file into your WINTR dashboard on https://www.wintr.com/dashboard-querybuilder
{
"method": "GET",
"url": "https://www.walmart.com/ip/Straight-Talk-LG-Journey-Smartphone/876424312",
"jsrender": true,
"renderuntil": "domloaded",
"headers": {
"Accept-Language": "en-US,en;q=0.9,es;q=0.8",
"Referer": "https://www.google.com"
},
"outputschema": {
@wintrdotcom
wintrdotcom / LEBONCOIN_LISTING_LIST_wintr_savedrequest.json
Last active March 11, 2021 12:58
Scrape Leboncoin listing list by importing this JSON file into your WINTR dashboard on https://www.wintr.com/dashboard-querybuilder
{
"method": "GET",
"url": "https://www.leboncoin.fr/recherche/?text=phone",
"jsrender": true,
"renderuntil": "domloaded",
"proxytype": "residential",
"headers": {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"Accept-Encoding": "gzip, deflate, br",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36"
@wintrdotcom
wintrdotcom / LEBONCOIN_LISTING_DETAILS_wintr_savedrequest.json
Last active March 11, 2021 12:58
Scrape Leboncoin listing details by importing this JSON file into your WINTR dashboard on https://www.wintr.com/dashboard-querybuilder
{
"method": "GET",
"url": "https://www.leboncoin.fr/ameublement/1839899960.htm",
"jsrender": true,
"renderuntil": "domloaded",
"proxytype": "residential",
"headers": {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"Accept-Encoding": "gzip, deflate, br",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36"