Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | __str__ |
def | applies_to |
def | allowance |
Data Fields | |
useragents | |
rulelines | |
An entry has one or more user-agents and zero or more rulelines
Definition at line 160 of file robotparser.py.
def __init__ | ( | self) |
Definition at line 162 of file robotparser.py.
def __str__ | ( | self) |
Definition at line 166 of file robotparser.py.
References Entry.rulelines, locale.str(), and Entry.useragents.
def allowance | ( | self, | |
filename | |||
) |
Preconditions: - our agent applies to this entry - filename is URL decoded
Definition at line 188 of file robotparser.py.
References Entry.rulelines, and locale.str().
def applies_to | ( | self, | |
useragent | |||
) |
check if this entry applies to the specified agent
Definition at line 174 of file robotparser.py.
References string.lower(), and Entry.useragents.
rulelines |
Definition at line 164 of file robotparser.py.
useragents |
Definition at line 163 of file robotparser.py.