Article

repl.it

Scrape with Selenium

On repl.it add Selenium, the 3rd party Python library

Click on the three (3) dots to show the hidden files. 

repl.it IDE

 Add two packages that will enable selenium to scrape data.

{ pkgs }: {
deps = [
pkgs.python38Full
pkgs.chromium
pkgs.chromedrive
];
env = {
PYTHON_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
# Neded for pandas / numpy
pkgs.stdenv.cc.cc.lib
pkgs.zlib
# Needed for pygame
pkgs.glib
# Needed for matplotlib
pkgs.xorg.libX11
];
PYTHONBIN = "${pkgs.python38Full}/bin/python3.8";
LANG = "en_US.UTF-8";
};
}

web driver description

 

 from selenium import webdriver
# the chrome class of the webdriver makes everything possible
driver = webdriver.Chrome()

 

 

Share this: 

 

Support

Drupal professional support

 

Small Business Tools

You have a vision, but you need the tools. We have the tools.

 

Drupal Training

Let us show you as much or as little as you would like to learn.

 

Responsive Design

Responsive web design for mobile, smartphones, tablets and desktop PCs.

On the Subject of Me

On the Subject of Me

I'm Allison with many hats. I am a System Analyst and Technical Writer with an IT and programming background.

I think Drupal is a super-awesome framework and I'm happiest when working on a Drupal Project!

Let's chat

Expansion packs

You can add features to your Starter Kit at any time. Powerful add-ons include:

My Photostream