MCPcopy
hub / github.com/InstaPy/InstaPy / get_media_edge_comment_string

Function get_media_edge_comment_string

instapy/like_util.py:540–548  ·  view source on GitHub ↗

AB test (Issue 3712) alters the string for media edge, this resolves it

(media)

Source from the content-addressed store, hash-verified

538
539
540def get_media_edge_comment_string(media):
541 """AB test (Issue 3712) alters the string for media edge, this resolves it"""
542 options = ["edge_media_to_comment", "edge_media_preview_comment"]
543 for option in options:
544 try:
545 media[option]
546 except KeyError:
547 continue
548 return option
549
550
551def check_link(

Callers 1

check_linkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected