-
Notifications
You must be signed in to change notification settings - Fork 140
Adding a new site to the Agent :: The Overview
There are 3 steps that must happen to add a new site or network to the agent.
First: the site must be added to a large list variable in PAsearchSites.py so the agent knows to a few basic details about the new site (like it's name, and website address)
Second: a new file must be created that contains the code needed to search the new site for listings, and the code needed to pull in the specific metadata for the specific listing chosen. This is most easily accomplished by copying one of the existing files that is most similar to the new site you wish to support.
Third: the search() function and update() function created in Step 1 must be referenced in __init__.py so the agent knows what to do when it matches your new site.
We'll dig into each of these steps in more detail in the following pages.