Help

Instagram clipper

Topic Labels: Extensions
3757 5
cancel
Showing results for 
Search instead for 
Did you mean: 
ARS
4 - Data Explorer
4 - Data Explorer

Check out these web clippers for Instagram’s web platform! One clips individual profile information, and the other clips individual post information. I’ve been using it to keep track of tattoo artists that I like. See the way my base is set up here!

Here’s the clip action recipe for individual IG profiles:

{
    "schemaVersion": 3,
    "fieldMappings": [
        {
            "fieldName": "artist",
            "fieldType": "singleLineText",
            "defaultValue": {
                "type": "pageTitle",
                "opts": null
            }
        },
        {
            "fieldName": "url",
            "fieldType": "url",
            "defaultValue": {
                "type": "pageUrl",
                "opts": null
            }
        },
        {
            "fieldName": "bio",
            "fieldType": "multilineText",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "div.-vDIg"
                }
            }
        },
        {
            "fieldName": "link in bio",
            "fieldType": "url",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "a.yLUwa"
                }
            }
        },
        {
            "fieldName": "profile pic",
            "fieldType": "multipleAttachments",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "img._6q-tv"
                }
            }
        },
        {
            "fieldName": "Location",
            "fieldType": "multipleSelects",
            "defaultValue": {
                "type": "none",
                "opts": null
            }
        },
        {
            "fieldName": "tag",
            "fieldType": "multipleSelects",
            "defaultValue": {
                "type": "none",
                "opts": null
            }
        },
        {
            "fieldName": "books are",
            "fieldType": "singleSelect",
            "defaultValue": {
                "type": "none",
                "opts": null
            }
        },
        {
            "fieldName": "preferred contact",
            "fieldType": "multipleSelects",
            "defaultValue": {
                "type": "none",
                "opts": null
            }
        },
        {
            "fieldName": "email address",
            "fieldType": "singleLineText",
            "defaultValue": {
                "type": "selectedText",
                "opts": null
            }
        },
        {
            "fieldName": "fave",
            "fieldType": "singleSelect",
            "defaultValue": {
                "type": "none",
                "opts": null
            }
        }
    ]
}

And here’s the clip action recipe for individual posts! Make sure you open the post in a new page before clipping. You can do this by clicking on a post from a profile page, copying the URL, and pasting it in a new tab.

{
    "schemaVersion": 3,
    "fieldMappings": [
        {
            "fieldName": "instagram",
            "fieldType": "multilineText",
            "defaultValue": {
                "type": "pageTitle",
                "opts": null
            }
        },
        {
            "fieldName": "username",
            "fieldType": "singleLineText",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "div.e1e1d"
                }
            }
        },
        {
            "fieldName": "url",
            "fieldType": "url",
            "defaultValue": {
                "type": "pageUrl",
                "opts": null
            }
        },
        {
            "fieldName": "image",
            "fieldType": "multipleAttachments",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "img.FFVAD"
                }
            }
        },
        {
            "fieldName": "date",
            "fieldType": "singleLineText",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "a.c-Yi7"
                }
            }
        },
        {
            "fieldName": "do i want this?",
            "fieldType": "multipleSelects",
            "defaultValue": {
                "type": "none",
                "opts": null
            }
        }
    ]
}

Happy clipping!

5 Replies 5
Michelene_Wilke
4 - Data Explorer
4 - Data Explorer

Question! Is there a way that web clipper can import the number of followers from a Instagram page? If so, can it auto update that follower count over time?

Welcome to the community, @Michelene_Wilkerson! :grinning_face_with_big_eyes:

I just ran a test, and found that Instagram uses a really bizarre collection of consistent yet pseudo-random class names on their user pages. However, I was still able to extract the follower count on a user page by using the CSS selector option using the following selector:

.Y8-fY a span

Not using the web clipper. It’s a manual tool, and not something (to my knowledge) that can be tied into any kind of automation system. Even if it did, it creates a new record each time it’s used, whereas I’m guessing you want to update an existing record. For that kind of operation, you’d need to use an integration service like Zapier or Integromat.

Neon_Rose
4 - Data Explorer
4 - Data Explorer

Did anyone figure this out how to automatically pull in instagram follower counts to airtable?

Hayley_Harriso1
4 - Data Explorer
4 - Data Explorer

I can’t get images from individual posts working, is img.FFVAD still the selector to use?

Martin_Malinda
6 - Interface Innovator
6 - Interface Innovator

Hi!

Here's a version that does not rely on these generated classes, so it should be more stable as instagram updates:

It also has the community size, although you get a string, not a pure number

 

{
    "schemaVersion": 3,
    "fieldMappings": [
        {
            "fieldName": "Name",
            "fieldType": "singleLineText",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "h2"
                }
            }
        },
        {
            "fieldName": "Profile",
            "fieldType": "url",
            "defaultValue": {
                "type": "pageUrl",
                "opts": null
            }
        },
        {
            "fieldName": "Bio",
            "fieldType": "multilineText",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "h1"
                }
            }
        },
        {
            "fieldName": "Link in bio",
            "fieldType": "url",
            "defaultValue": {
                "type": "cssSelectorAttribute",
                "opts": {
                    "attributeName": "href",
                    "cssSelector": "a[target=_blank]"
                }
            }
        },
        {
            "fieldName": "Image",
            "fieldType": "multipleAttachments",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "header img"
                }
            }
        },
        {
            "fieldName": "Community Size",
            "fieldType": "number",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "li > a span span span"
                }
            }
        }
    ]
}