Giter VIP home page Giter VIP logo

instagram-media-scraper's Introduction

🎓 Education

Universidad Tecnológica de Panamá
Engineer's degree, Computer and Systems Engineering
Panama City, Panama
Jan 2016 — May 2022

Escuela Secundaria Pedro Pablo Sánchez
Highschool diploma, Science
La Chorrera, Panama
Feb 2010 — Dec 2015

💼 Work Experience

Full-Stack Developer and Administrator at Panama Esports Productions
Panama City, Panama
April 2019 — Present

  • Plan and execute web projects focused on Esports and Gaming events in Panama to encourage and expand community participation.
  • Administration of the server, official website, and company's web domains.
  • Work alongside the CEOs and Graphic Designers to plan and create landing web pages built with PHP or Vue.js for promoting and exhibiting gaming tournaments.
  • Implement web forms for collecting tournament participants' data using MySQL.
  • Carry out any other programming or web design work for clients who contact the company looking for a personalized service.

💡 Skills

Frontend Technologies

Javascript HTML5 CSS3 Cloudflare Pages Vue.js Nuxt TypeScript Bootstrap 5 Tailwindcss jQuery

Backend Technologies

Node.js Cloudflare Workers PHP Java Spring Boot Python Visual Basic

Cloud & Web Services

GitHub Cloudflare DigitalOcean Vercel AWS Replit WordPress

Tools

Visual Studio Code pnpm ESLint Git GraphQL Postman JSON Chart.js Google Adsense

Databases & Cloud Storages

Cloudflare D1 MySQL PostgreSQL SQLite

Cloudflare R2 cloudinary

Operating systems

Windows Linux Ubuntu

APIs I've worked with

cloudflare-api twitch-api discord-api openai-api spotify-api riot-games-api imgur-api cloudinary-api twitter-api youtube-api stable-diffusion-api

📊 GitHub Stats

Github Stats

GitHub Streak

most-used-languages

instagram-media-scraper's People

Contributors

ahmedrangel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

instagram-media-scraper's Issues

Errors

Which cookie information I use?

sessionid= mid= ig_nrcb= ig_did ds_user_id= csrftoken= whic one I use for the _cookie = ?

2 errors

Screenshot 2023-07-14 034641
Screenshot 2023-07-14 034630

Account Suspended

My Instagram account was suspended after only 3 days, with just 5 strikes. Could you please share a solution for this issue?

Update your code =)

import axios from 'axios'
import 'dotenv/config'

function transformInstagramLink(inputLink) {
  const linkWithoutHash = inputLink.replace(/\?.*$/, '')

  return`${linkWithoutHash}?__a=1&__d=dis`
}

function convertObjectToString(obj) {
  return Object.keys(obj)
    .map((key) => `${key}="${obj[key]}"`)
    .join('; ')
}

export const parseInstagramPost = async (url) => {
  const Cookie = convertObjectToString({
    ds_user_id: process.env.INSTAGRAM_DS_USER_ID,
    sessionid: process.env.INSTAGRAM_SESSION_ID,
  })

  const response = await axios.get(transformInstagramLink(url), {
    headers: {
      Cookie,
    },
  })

  response.data // ← JSON data
}

your code uses too many variables that are not required. you only need two: ds_user_id and sessionid

enjoy! 😉
p.s.: thanks for the idea

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.