![Gab Scraper avatar](https://images.apifyusercontent.com/9wILEEZzC11RpVOv7gEdgSgWbu_i5WqumWYRBCYBxQg/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9USFVKQmJ4NWFLNk5OUkZ0ay9MQXFncGYyZTlzc2VzdnR6YS1nYWIlMjgyJTI5LmpwZw.webp)
Gab Scraper
Try for free
Pay $1.00 for 1,000 results
View all Actors![Gab Scraper](https://images.apifyusercontent.com/9wILEEZzC11RpVOv7gEdgSgWbu_i5WqumWYRBCYBxQg/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9USFVKQmJ4NWFLNk5OUkZ0ay9MQXFncGYyZTlzc2VzdnR6YS1nYWIlMjgyJTI5LmpwZw.webp)
![Gab Scraper](https://images.apifyusercontent.com/9wILEEZzC11RpVOv7gEdgSgWbu_i5WqumWYRBCYBxQg/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9USFVKQmJ4NWFLNk5OUkZ0ay9MQXFncGYyZTlzc2VzdnR6YS1nYWIlMjgyJTI5LmpwZw.webp)
Gab Scraper
web.harvester/gab-scraper
Try for free
Pay $1.00 for 1,000 results
This actor scrapes searches, profiles, groups, and feeds URLs, as well as their posts and comments from the https://gab.com website.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "startUrls": [
8 {
9 "url": "https://gab.com/Ori"
10 }
11 ],
12 "desiredPostsCount": 100,
13 "desiredCommentsCount": 0,
14 "commentsSortBy": "MOST_LIKED",
15 "accountPostsSortBy": "NEWEST",
16 "groupPostsSortBy": "NEWEST",
17 "desiredAccountsCount": 100,
18 "desiredGroupsCount": 100
19}
20EOF
21
22# Run the Actor using an HTTP API
23# See the full API reference at https://docs.apify.com/api/v2
24curl "https://api.apify.com/v2/acts/web.harvester~gab-scraper/runs?token=$API_TOKEN" \
25 -X POST \
26 -d @input.json \
27 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 2 monthly users
- 2 stars
- 100.0% runs succeeded
- 4.3 hours response time
- Created in May 2023
- Modified 7 months ago
Categories