How do I Download Images by links?

I need assistance downloading Instagram images, such as profile pictures and posts. The issue is that Instagram provides images as links rather than standard formats like .png or .jpeg. Iā€™ve attempted to use Bardeenā€™s download feature, but it only saves the download as ā€˜fileā€™ its a random wierd file name and i cant change it into anything else the size of the ā€˜fileā€™ is 1 kb so it clearly doesnt work.

any way to fix this or some other alterntives?
thx.

Hi there,

Youā€™d need 2 actions to download pictures. First is ā€œGet page as PNGā€ connected to profile images links and ā€œGet object as fileā€ after it:

Let us know if you have any other questions!
Victoria

Customer Support - bardeen.ai
Knowledge Base https://support.bardeen.ai/hc/en-us
Explore | @bardeenai | Bardeen Community

1 Like

Thank you for the solution. I have another question:
Is there a way to make Bardeen scrape account information and download images in the same playbook? It seems that when I try to download the image, the scraped data isnā€™t available, and vice versa. Iā€™d like to perform both actions simultaneously if possible.

Hi,

Could you please share your playbook with me here? I will take a look to see if thereā€™s any misconfiguration. To get a link of your playbook, please follow instructions provided here: https://support.bardeen.ai/hc/en-us/articles/28821486098957-Where-can-I-find-the-playbook-link

Looking forward to your reply.
Victoria

Customer Support - bardeen.ai
Knowledge Base https://support.bardeen.ai/hc/en-us
Explore | @bardeenai | Bardeen Community

Here it is

Sorry for the long respond

also it sometimes doesnt work
like it works then next time i run the playbook it doesnt work why is that?
did i do something wrong while editing the playbook?

also i have another playbook but its only for scraping data not downloading images or anything and it also has the same problem but only scrapes 3 accounts i really have no idea whats going on

Hello,

I think the problem is on the last step of your automation. It seems you are trying to insert everything scraped into a single column of a google sheet:

Please re-do the mapping following this guide: https://support.bardeen.ai/hc/en-us/articles/29931926537613-How-to-Integrate-Google-Sheets-with-Playbooks

After that please test again and let us know how it goes.

Victoria

Customer Support - bardeen.ai
Knowledge Base https://support.bardeen.ai/hc/en-us
Explore | @bardeenai | Bardeen Community

Thank you for your feedback regarding the previous suggestion. I understand that the recommended approach did not yield the desired results. It appears to me that the main challenge lies in the profile selection process from search posts on Instagram. To clarify, the current workflow involves:

  1. Searching for a hashtag
  2. Clicking on posts
  3. Navigating to profiles
  4. Returning to the previous page
  5. Repeating these steps for different posts

Iā€™m inquiring about the availability of an automated solution within Bardeen for this specific workflow. If such a feature doesnā€™t exist, I would appreciate guidance on developing a manual workaround to streamline this process. Is there a more efficient method to accomplish this task using Bardeenā€™s current capabilities?

Hi,

You can indeed build an automation for the flow you described. Youā€™ll need to employ a ā€œdeep scrapingā€ technique. This involves first scraping a list of posts/profile links (level 1) and then extracting the detailed information (level 2 and maybe 3) from those links.

To assist you further, here are some resources that might be helpful:

  • General guide on scraping: YouTube Guide
  • Deep scraping tutorial with live examples: YouTube Tutorial
  • Tutorial on deep scraping: Bardeen Scraper Guide

Hope this helps!
Victoria

Customer Support - bardeen.ai
Knowledge Base https://support.bardeen.ai/hc/en-us
Explore | @bardeenai | Bardeen Community

Hi Victoria,
I hope youā€™re doing well. I have a question about enhancing my scraperā€™s functionality.
Currently, my scraper performs these actions:

  1. Clicks on a post
  2. Retrieves the creatorā€™s account URL
  3. Closes the post
    (i have another scraper and it starts when this one finishes)
    Iā€™d like to repeat this process multiple times until it reaches a desired number of iterations. Is there a loop feature available that could help me achieve this? Or am I perhaps overlooking a more efficient approach?