HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.
2.0.0-chaika
Hierarchical Cluster Engine Python language binding
|
Variables | |
int | timeout = 10 |
string | out_dir = "/tmp/00/" |
bool | macro_execute = True |
string | u = "http://www.nytimes.com/2015/06/18/us/politics/gop-is-wary-that-health-care-win-could-have-its-own-risks.html?hp&action=click&pgtype=Homepage&module=first-column-region®ion=top-news&WT.nav=top-news&_r=0" |
string | out_file = "www.nytimes.com.html" |
string | exec_path = "../../bin/" |
string | driver_name = "chromedriver" |
string | driver_release = "_chrome50" |
string | error_msg = "" |
driver = None | |
string | disable_setuid_sandbox = "--disable-setuid-sandbox" |
chrome_option = webdriver.ChromeOptions() | |
int | error_code = 1 |
log_types = driver.log_types | |
log_list = driver.get_log('browser') | |
list | entrances |
regex = re.compile(item[0]) | |
r = regex.search(error_msg) | |
content_type = None | |
charset = None | |
attr = None | |
items = regex.search(attr) | |
html = driver.page_source | |
cookies = driver.get_cookies() | |
string | m = "function aaa(){location.replace('https://www.congress.gov/bill/114th-congress/senate-bill/1016/text');} return aaa();" |
string | m1 = "function bbb(){return 1;} return bbb();" |
r1 = driver.execute_script(m1) | |
html_macro = driver.page_source | |
f = open(out_dir + out_file + "_macro", "w") | |
ftests.ftest_selenium_chrome.attr = None |
Definition at line 167 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.charset = None |
Definition at line 166 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.chrome_option = webdriver.ChromeOptions() |
Definition at line 116 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.content_type = None |
Definition at line 165 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.cookies = driver.get_cookies() |
Definition at line 208 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.disable_setuid_sandbox = "--disable-setuid-sandbox" |
Definition at line 115 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.driver = None |
Definition at line 93 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.driver_name = "chromedriver" |
Definition at line 90 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.driver_release = "_chrome50" |
Definition at line 91 of file ftest_selenium_chrome.py.
list ftests.ftest_selenium_chrome.entrances |
Definition at line 148 of file ftest_selenium_chrome.py.
int ftests.ftest_selenium_chrome.error_code = 1 |
Definition at line 121 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.error_msg = "" |
Definition at line 92 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.exec_path = "../../bin/" |
Definition at line 88 of file ftest_selenium_chrome.py.
Definition at line 220 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.html = driver.page_source |
Definition at line 207 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.html_macro = driver.page_source |
Definition at line 218 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.items = regex.search(attr) |
Definition at line 173 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.log_list = driver.get_log('browser') |
Definition at line 141 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.log_types = driver.log_types |
Definition at line 139 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.m = "function aaa(){location.replace('https://www.congress.gov/bill/114th-congress/senate-bill/1016/text');} return aaa();" |
Definition at line 214 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.m1 = "function bbb(){return 1;} return bbb();" |
Definition at line 215 of file ftest_selenium_chrome.py.
bool ftests.ftest_selenium_chrome.macro_execute = True |
Definition at line 29 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.out_dir = "/tmp/00/" |
Definition at line 28 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.out_file = "www.nytimes.com.html" |
Definition at line 35 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.r = regex.search(error_msg) |
Definition at line 157 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.r1 = driver.execute_script(m1) |
Definition at line 217 of file ftest_selenium_chrome.py.
ftests.ftest_selenium_chrome.regex = re.compile(item[0]) |
Definition at line 156 of file ftest_selenium_chrome.py.
int ftests.ftest_selenium_chrome.timeout = 10 |
Definition at line 27 of file ftest_selenium_chrome.py.
string ftests.ftest_selenium_chrome.u = "http://www.nytimes.com/2015/06/18/us/politics/gop-is-wary-that-health-care-win-could-have-its-own-risks.html?hp&action=click&pgtype=Homepage&module=first-column-region®ion=top-news&WT.nav=top-news&_r=0" |
Definition at line 34 of file ftest_selenium_chrome.py.