Gab Scraper
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative ActorsGab Scraper
This actor scrapes searches, profiles, groups, and feeds URLs, as well as their posts and comments from the https://gab.com website.
What does Gab Scraper do?
This actor scrapes searches, profiles, groups, and feeds URLs, as well as their posts and comments from Gab's website.
Here's an input example in JSON:
1{ 2 "startUrls": [ 3 { 4 "url": "https://gab.com/Ori" 5 } 6 ], 7 "accountPostsSortBy": "NEWEST", 8 "addUserInfo": false, 9 "commentsSortBy": "MOST_LIKED", 10 "desiredAccountsCount": 100, 11 "desiredCommentsCount": 0, 12 "desiredGroupsCount": 100, 13 "desiredPostsCount": 1, 14 "groupPostsSortBy": "NEWEST", 15 "groupsMediaOnly": false, 16 "searchOnlyVerified": false 17}
For the full list of optional parameters, their default values, and how to set the values of your own, see the Input Schema tab.
Gab Scraper data output
The output for the scrape is stored in the dataset. After the run is finished, you can download the dataset in various data formats (JSON, CSV, XML, RSS, HTML Table).
Output example
1[ 2 { 3 "id": "110481000622541415", 4 "created_at": "2023-06-03T15:31:24.078Z", 5 "revised_at": null, 6 "in_reply_to_id": null, 7 "in_reply_to_account_id": null, 8 "sensitive": false, 9 "spoiler_text": "", 10 "visibility": "public", 11 "language": "en", 12 "uri": "/Ori/posts/110481000622541415", 13 "url": "https://gab.com/Ori/posts/110481000622541415", 14 "direct_replies_count": 1, 15 "replies_count": 2, 16 "reblogs_count": 1, 17 "pinnable": false, 18 "pinnable_by_group": true, 19 "favourites_count": 1, 20 "quote_of_id": null, 21 "expires_at": null, 22 "has_quote": false, 23 "bookmark_collection_id": null, 24 "quotes_count": 0, 25 "reaction_id": null, 26 "reactions_counts": { 27 "1": "z" 28 }, 29 "is_reply": false, 30 "account_id": "66815", 31 "media_attachment_ids": [ 32 "139457229", 33 "139457412" 34 ], 35 "conversation_id": "11063738125945403", 36 "content": "My Hubby and I are adding new t-shirts to our shop. I'm putting up AI works and the discussion is: he has done research and shirts with text sell better, but I don't think the AI shirts need text so I want to take a poll would you buy a shirt with funny text or prefer just the picture", 37 "reblog": null, 38 "quote": null, 39 "group": { 40 "id": "72693", 41 "title": "Gab AI Art", 42 "description": "A group for sharing images generated by Gab @ai and Mel @movie. A family-friendly group ! \r\nBanner by @CxM2023\r\nPrompt: \r\nUltra realistic, liquid metal, stunning environment, backwater wooden swamp shack a night, details, mosquitos and stumps, at water's edge, path lights, hanging lights, ornamental lights, 35mm, swamp, midnight, Boris Vallejo, Frank Frazetta, 4k #wide \r\n", 43 "description_html": "<p>A group for sharing images generated by Gab <a data-focusable=\"true\" role=\"link\" href=\"https://gab.com/AI\" class=\"mention\">@AI</a> and Mel <a data-focusable=\"true\" role=\"link\" href=\"https://gab.com/movie\" class=\"mention\">@movie</a>. A family-friendly group !<br><br />Banner by <a data-focusable=\"true\" role=\"link\" href=\"https://gab.com/CxM2023\" class=\"mention\">@CxM2023</a><br />Prompt:<br><br />Ultra realistic, liquid metal, stunning environment, backwater wooden swamp shack a night, details, mosquitos and stumps, at water's edge, path lights, hanging lights, ornamental lights, 35mm, swamp, midnight, Boris Vallejo, Frank Frazetta, 4k <a data-focusable=\"true\" role=\"link\" href=\"/tags/wide\" class=\"hashtag\" rel=\"tag\">#wide</a> </p>", 44 "cover_image_url": "https://media.gab.com/system/groups/cover_images/000/072/693/original/fac86e1edcb77a86.png", 45 "cover_image_thumbnail_url": "https://media.gab.com/cdn-cgi/image/width=320,fit=scale-down/system/groups/cover_images/000/072/693/original/fac86e1edcb77a86.png", 46 "cover_image_medium_url": "https://media.gab.com/cdn-cgi/image/width=580,fit=scale-down/system/groups/cover_images/000/072/693/original/fac86e1edcb77a86.png", 47 "is_archived": false, 48 "member_count": 5755, 49 "is_verified": true, 50 "is_moderated": true, 51 "created_at": "2023-02-20T20:30:07.619Z", 52 "is_private": false, 53 "is_visible": true, 54 "slug": null, 55 "url": "https://gab.com/groups/72693", 56 "tags": [ 57 "AI", 58 "Image" 59 ], 60 "group_category": { 61 "id": 5, 62 "created_at": "2020-08-08T15:49:57.045Z", 63 "updated_at": "2020-08-08T15:49:57.045Z", 64 "text": "Technology" 65 }, 66 "password": null, 67 "has_password": false, 68 "is_paused": false, 69 "theme_color": null, 70 "rules": null, 71 "is_admins_visible": false, 72 "is_members_visible": false, 73 "is_media_visible": true, 74 "is_links_visible": true 75 }, 76 "status_context": null, 77 "media_attachments": [ 78 { 79 "id": "139457229", 80 "type": "image", 81 "url": "https://media.gab.com/system/media_attachments/files/139/457/229/original/3cce2f80443c875d.png", 82 "preview_url": "https://media.gab.com/system/media_attachments/files/139/457/229/small/3cce2f80443c875d.png", 83 "source_mp4": null, 84 "remote_url": null, 85 "meta": { 86 "original": { 87 "width": 823, 88 "height": 823, 89 "size": "823x823", 90 "aspect": 1 91 }, 92 "small": { 93 "width": 400, 94 "height": 400, 95 "size": "400x400", 96 "aspect": 1 97 } 98 }, 99 "account_id": "66815", 100 "status_url": "/Ori/posts/110481000622541415", 101 "status_id": "110481000622541415", 102 "marketplace_listing_id": null, 103 "file_name": "3cce2f80443c875d.png", 104 "description": null, 105 "blurhash": "U]PZllWB~qt7%MayM{j[xuj[RjWCoffkaeay", 106 "file_content_type": "image/png" 107 }, 108 { 109 "id": "139457412", 110 "type": "image", 111 "url": "https://media.gab.com/system/media_attachments/files/139/457/412/original/48e505632d49b894.jpg", 112 "preview_url": "https://media.gab.com/system/media_attachments/files/139/457/412/small/48e505632d49b894.jpg", 113 "source_mp4": null, 114 "remote_url": null, 115 "meta": { 116 "original": { 117 "width": 8000, 118 "height": 8000, 119 "size": "8000x8000", 120 "aspect": 1 121 }, 122 "small": { 123 "width": 400, 124 "height": 400, 125 "size": "400x400", 126 "aspect": 1 127 } 128 }, 129 "account_id": "66815", 130 "status_url": "/Ori/posts/110481000622541415", 131 "status_id": "110481000622541415", 132 "marketplace_listing_id": null, 133 "file_name": "48e505632d49b894.jpg", 134 "description": null, 135 "blurhash": "UBAS-#S#0zJT5ssDxDxYELt6t7NdI:S3$jNK", 136 "file_content_type": "image/jpeg" 137 } 138 ], 139 "mentions": [], 140 "tags": [], 141 "emojis": [], 142 "card": null, 143 "poll": { 144 "id": "111624", 145 "expires_at": "2023-06-06T15:31:24.063Z", 146 "expired": false, 147 "multiple": false, 148 "votes_count": 4, 149 "options": [ 150 { 151 "id": "0", 152 "title": "T-shirt with some quirky text", 153 "votes_count": 0 154 }, 155 { 156 "id": "1", 157 "title": "T-shirt nice picture", 158 "votes_count": 1 159 }, 160 { 161 "id": "2", 162 "title": "t-shirt with picture and text", 163 "votes_count": 3 164 } 165 ], 166 "emojis": [] 167 }, 168 "account": { 169 // ... 170 } 171 } 172]
Integrations and Gab Scraper
Last but not least, Gab Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Gab Scraper successfully finishes a run.
Using Gab Scraper with the Apify API
The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.
To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.
Check out the Apify API reference docs for full details or click on the API tab for code examples.