MCPcopy
hub / github.com/InstaPy/InstaPy / getMediaData

Function getMediaData

instapy/util.py:518–532  ·  view source on GitHub ↗
(
    query,
    browser,
)

Source from the content-addressed store, hash-verified

516
517
518def getMediaData(
519 query,
520 browser,
521):
522 additional_data = get_additional_data(browser)
523 data = additional_data["graphql"]["shortcode_media"]
524
525 if query.find(".") == -1:
526 data = data[query]
527 else:
528 subobjects = query.split(".")
529 for subobject in subobjects:
530 data = data[subobject]
531
532 return data
533
534
535def update_activity(

Callers 5

verify_mandatory_wordsFunction · 0.85
get_comments_on_postFunction · 0.85
is_commenting_enabledFunction · 0.85
get_comments_countFunction · 0.85
verify_commented_imageFunction · 0.85

Calls 1

get_additional_dataFunction · 0.85

Tested by

no test coverage detected