get_comments: Return media and media metadata

Description Usage Arguments Value Examples

View source: R/get_comments.R

Description

get_media return media and media metadata based on search configuration.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
get_comments(
  username = NULL,
  tag = NULL,
  location = NULL,
  your_username = NULL,
  your_password = NULL,
  following_input = FALSE,
  max = NULL,
  include_location = FALSE,
  interactive = NULL,
  filter = NULL,
  filter_location = NULL,
  raw_data = TRUE,
  retry_download = FALSE
)

Arguments

username

String vector. Specify a username account

tag

String. Scrapes the specified hashtag for media.

location

String. Scrapes the specified instagram location-id for media.

your_username

String. Instagram login user

your_password

String. Instagram login password

following_input

Logical value. Use profiles followed by login-user as input

max

Maximum number of items to scrape.

include_location

Logical value. Includes location metadata when saving media metadata.

interactive

Enables interactive login challenge solving. Has 2 modes: SMS and Email

filter

String vector. Scrapes the specified hashtag within a user's media.

filter_location

String vector.Filter scrape queries by command line location(s) ids

raw_data

Logical value. if TRUE, clean metadata.

retry_download

Logical values. Retry download attempts endlessly when errors are received

Value

A tibble and profile metadata

Examples

1
2
3
4
5
## Not run: 
get_media(following_input = TRUE, your_username = "xxxx", your_password = "123")
get_media(username = "ABC", max = 10, media = "image")

## End(Not run)

technaut-education/instascraper documentation built on June 13, 2021, 7:42 a.m.