Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Boilerplate for developing crawler with Selenium.

Project description

Selenium Crawler Template

Boilerplate for developing crawler with Selenium.


pip install selenium-crawler-template


from selenium_crawler_template import Crawler

class MyCrawler(Crawler):
    def _get_email_from_profile(self, _):
        return self.find_element('a#email').get_attribute('href')

    def crawl(self, **kwargs):

        for profile in self.find_elements('ul > .profile'):
            _ = self._get_email_from_profile(profile.get_attribute('href'))


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for selenium-crawler-template, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size selenium_crawler_template-0.0.6-py3-none-any.whl (3.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size selenium-crawler-template-0.0.6.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page