|
|
|
|
|
reset(self)
Clears all cookies and history. |
source code
|
|
|
|
|
|
|
|
|
|
open(self,
url,
data=None,
headers={})
Opens the specified url. |
source code
|
|
|
|
show(self)
Opens the current page in real web browser. |
source code
|
|
|
|
get_response(self)
Returns a copy of the current response. |
source code
|
|
|
|
get_soup(self)
Returns beautiful soup of the current document. |
source code
|
|
|
|
get_text(self,
e=None)
Returns content of e or the current document as plain text. |
source code
|
|
|
|
|
|
|
get_links(self,
text=None,
text_regex=None,
url=None,
url_regex=None,
predicate=None)
Returns all links in the document. |
source code
|
|
|
|
| follow_link(self,
link=None,
text=None,
text_regex=None,
url=None,
url_regex=None,
predicate=None) |
source code
|
|
|
|
| find_link(self,
text=None,
text_regex=None,
url=None,
url_regex=None,
predicate=None) |
source code
|
|
|
|
| _filter_links(self,
links,
text=None,
text_regex=None,
url=None,
url_regex=None,
predicate=None) |
source code
|
|
|
|
|
|
|
select_form(self,
name=None,
predicate=None,
index=0)
Selects the specified form. |
source code
|
|
|
|
submit(self,
**kw)
submits the currently selected form. |
source code
|
|
|
|
|
|
|
|