Skip to content

littlebugger/insta_parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

insta_parse

Description

This is my own humble Perl library for scraping the Instagram. Works through Web interface.
Goal is to save entire pages to local storage.

SYNOPSIS

use utf8;
use strict; use warnings;

use InstaCombine;

my $agent = InstaCombine->new(account => 'elonmusk'); #why not?
map { print $_->shortcode."\n" } $agent->get_media();

Available Media methods for now

  • For all media:
    - is_video - bool
    - display_url - url string of original image
    - accessibility_caption
    - shortcode - page name string
    - id - owner user id
    - location - gps location of posted media
    - display_resources - JSON list of different size thumbnails
    - dimensions - size dimentions in pixels for original image

  • For video media:
    - video_duration - video duration in seconds
    - video_view_count
    - video_url - ur string of video content

Under construction

Work in progress

About

Have your own local insta page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages