Skip to content

XavierWattermann/common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

common

Description

common.py is a list of frequently used Python functions, such as reading/writing to a file, creating folders, etc.

Functions:

create_driver()

Creates a webdriver using a ChromeDriver or PhantomJS.

Dependices

get_soup(url)

Creates a BeautifulSoup object, given a passed url.

Parameters

url - the url to be parsed.

Dependices

find_all(soup, first, second, third)

A wrapper for BeautifulSoup.find_all(first: {second: third})

Parameters

soup - A BeautifulSoup Object

first, second, third - items to search for

Dependices

About

Commonly used Python methods

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages