tinnguyen18920 / SeReSoup

Combining requests and BeautifulSoup, Selenium

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SeReSoup

Combining requests and BeautifulSoup, Selenium

>>> from SeReSoup import *
>>> url = 'http://httpbin.org/get'
>>> res = ReSoup().soup(url)
>>> type(res)
requests.models.Response
>>>
>>> soup = ReSoup().soup(url , soup=True)
>>> type(soup)
bs4.BeautifulSoup
>>> from SeReSoup import *
>>> url = 'http://httpbin.org/get'
>>> soup = SeSoup().soup(url, mydriver=None , soup=True)
>>> type(soup)
bs4.BeautifulSoup

About

Combining requests and BeautifulSoup, Selenium


Languages

Language:Python 100.0%