Post Scraper
This API can be used for scraping any person or company post. You just have to pass the post URL to our API.
Parameters
Parameters
Description
API Example
curl "https://api.scrapingdog.com/profile/post?api_key=APIKEY&id=6976499964512243712"import requests
url = "https://api.scrapingdog.com/profile/post"
params = {
"api_key": "APIKEY",
"id": "6976499964512243712"
}
response = requests.get(url, params=params)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"Request failed with status code: {response.status_code}")
const axios = require('axios');
const url = 'https://api.scrapingdog.com/profile/post';
const params = {
api_key: 'APIKEY',
id: '6976499964512243712'
};
axios.get(url, { params: params })
.then(response => {
if (response.status === 200) {
const data = response.data;
console.log(data);
} else {
console.log(`Request failed with status code: ${response.status}`);
}
})
.catch(error => {
console.error('An error occurred:', error);
});
Last updated