About the Page Map

About the Page Map

The page_map is a dict containing info about the pages added to a Profile

  • It’s used to help detect new posts and compose tweets on a per-page basis

  • Entries are created when you add_pages(), which map the page to a PAGE_MAPPING

  • The PAGE_MAPPING maintains lists of hashtags, scraped posts, and sent tweets

  • The mapping is updated when you add_hashtags() and successfully send_tweet()

You can access entries in the page_map as follows: