def scrapeUser(self, userLink=None):
    if (userLink is None):
        userLink = self.userLink
    response = self.browser.open(userLink)
    text = response.read()
    allUserLinks = {}
    for link in self.browser.links(url_regex='/p/'):
        self.browser.follow_link(link)
        userLinks = [link for link in self.browser.links() if (HeadlessScraper.isUserLink(link) and self.isNotCurrentUserLink(link, userLink))]
        userLinksDict = listToDict((lambda userLink: Scraper.getUserLink(userLink.text)), userLinks)
        allUserLinks.update(userLinksDict)
    return allUserLinks
def scrapeUser(self, userLink=None):
    if (userLink is None):
        userLink = self.userLink
    response = self.browser.open(userLink)
    text = response.read()
    allUserLinks = {}
    for link in self.browser.links(url_regex='/p/'):
        self.browser.follow_link(link)
        userLinks = [link for link in self.browser.links() if (HeadlessScraper.isUserLink(link) and self.isNotCurrentUserLink(link, userLink))]
        userLinksDict = listToDict((lambda userLink: Scraper.getUserLink(userLink.text)), userLinks)
        allUserLinks.update(userLinksDict)
    return allUserLinks