<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def phantomjs_get(url):
 """ Perform the request via PhantomJS. """

    from selenium import webdriver
    from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

    dcap = dict(DesiredCapabilities.PHANTOMJS)
    dcap["phantomjs.page.settings.userAgent"] = config.USER_AGENT
    dcap["phantomjs.page.settings.loadImages"] = False
    driver = webdriver.PhantomJS(desired_capabilities=dcap, executable_path=config.PHANTOMJS_BIN)

    logger.debug("PhantomJS get: %s", url)
    driver.get(url)
    time.sleep(10) # to follow redirects

    response = driver.page_source
    driver.quit()
    return response