Retrieving Instagram (2025-02-23)

작성자  
   achor ( Vote: 0 )
분류      기술

This weekend, I got it done to retrieve Instagram data.

It was a difficult task, to the point where it would be appropriate to say that I got it done. They don't provide APIs unless it's a business account, and they thoroughly block scraping, so it's practically impossible for individuals to utilize Instagram data.

At first, I tried to get the data directly using curl, but it was not possible because it was dynamic data. External tools like rss.app had a limited period, and since there was no operating environment for the Python scraping library, I tried running it on pythonanywhere, but the IP was already blocked.

After countless attempts and thoughts, I solved it by combining the php-webdriver library, chromedriver, and an Instagram mirror. Additionally, I finished the work by setting it to run once a day.

Only public Instagram data is retrieved, and you can see it in the Your Story module at https://achor.net/module/urstory.

I recall that this was the most challenging task I've tackled while being deeply immersed in programming lately. After completing it, I feel confident that I can scrape data from anywhere in a PHP environment.

- achor


본문 내용은 42일 전의 글로 현재의 관점과 다를 수 있습니다.

Post: https://achor.net/board/diary/2200
Trackback: https://achor.net/tb/diary/2200

카카오톡 공유 보내기 버튼 LINE it! 밴드공유 Naver Blog Share Button

Name
Password
Comment
reCaptcha



Tag
- 프로그래밍: Facebook Like Buttom (2011-01-07 01:41:39)- 프로그래밍: 바르셀로나 지하철 노선도 App (2012-02-27 03:24:47)

- 홈페이지: (아처) For 제국민, 완전 개정 (2000-01-25 03:56:27)- 홈페이지: 조회수 오류 (2015-12-26 23:01:16)

- 홈페이지: (아처) 我處帝國 Homepage ver1.0 (1999-11-08 13:33:53)- 홈페이지: iPhone 사용자들을 위하여! (2010-04-17 18:06:22)

- 홈페이지: (아처) Web 구상안 (1999-11-11 01:18:18)- 프로그래밍: 주말의 복원 작업 (2025-03-16 11:00:04)

- 프로그래밍: Achor.net v1.0 (2025-03-01 16:40:23)- 홈페이지: 아처다이어리 App (2014-05-23 01:11:08)



   
 
 
   
Posts 2049, Pages 277
Sun Mon Tue Wed Thu Fri Sat
            1
아처웹스 v7.4.0.1.25..
2 3 4 5 6 7 8
9
완연한 프로그.. [2]
10 11 12 13 14
Galaxy S25 Plus
15
16
어제와 다르다
17 18 19 20 21
Swipe Left/Right
22
23
Retrieving Instagram
24 25
앗싸좋구나 Upgraded
26
신도림대우푸르지..
27 28
기아 헤리티지데..
 

  당신의 추억

ID  

  그날의 추억

Date  

First Written: 09/27/2001 13:51:56
Last Modified: 03/04/2025 12:32:03
추천글closeopen