Skip to content

Instantly share code, notes, and snippets.

View wintrdotcom's full-sized avatar

Wintr wintrdotcom

View GitHub Profile
@wintrdotcom
wintrdotcom / METADATA_wintr_savedrequest.json
Created September 13, 2020 22:54
Extract the metadata of any webpage by importing this JSON file into your WINTR dashboard on https://www.wintr.com/dashboard-querybuilder
{
"method": "GET",
"url": "https://github.com",
"outputschema": {
"metas": {
"group": "html > head > meta",
"data": {
"name": {
"selector": "meta",
"attr": "name"
@wintrdotcom
wintrdotcom / METADATA_wintr_example.js
Created September 13, 2020 22:54
Extract the metadata of any webpage, get a free WINTR API key on https://www.wintr.com
const WINTR_API_KEY = "your_wintr_api_key"
const TARGET_URL = "https://github.com"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / ALIEXPRESS_PRODUCT_DETAILS_wintr_example.js
Last active September 7, 2020 12:34
Scrape Aliexpress 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.aliexpress.com/item/4000938839789.html"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / ALIEXPRESS_PRODUCT_LIST_wintr_example.js
Last active September 7, 2020 12:35
Scrape Aliexpress 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.aliexpress.com/wholesale?SearchText=phone"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / AMAZON_PRODUCT_DETAILS_wintr_example.js
Last active September 7, 2020 12:35
Scrape Amazon 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.amazon.com/dp/B07ZDJCL76"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / AMAZON_PRODUCT_LIST_wintr_example.js
Last active September 7, 2020 12:35
Scrape Amazon 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.amazon.com/s?k=phone"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / CRAIGLIST_LISTING_DETAILS_wintr_example.js
Last active March 11, 2021 12:13
Scrape Craiglist 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://losangeles.craigslist.org/wst/clt/d/redondo-beach-western-electric-as-1317/7185139486.html"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / CRAIGLIST_LISTING_LIST_wintr_example.js
Last active March 11, 2021 12:59
Scrape Craiglist 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://losangeles.craigslist.org/search/sss?query=phone"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / EBAY_PRODUCT_DETAILS_wintr_example.js
Last active September 7, 2020 12:35
Scrape Ebay 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.ebay.com/itm/233697752117"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,
@wintrdotcom
wintrdotcom / EBAY_PRODUCT_LIST_wintr_example.js
Last active September 7, 2020 12:35
Scrape Ebay 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.ebay.com/sch/i.html?_nkw=phone"
const axios = require("axios")
const options = {
method: "post",
responseType: "json",
data: {
"apikey": WINTR_API_KEY,
"url": TARGET_URL,