|
@@ -112,21 +112,14 @@ filter_mapping = {0: 'off', 1: 'medium', 2: 'high'}
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-results_xpath = '//div[contains(@class, "jtfYYd")]'
|
|
|
+results_xpath = '//div[contains(@class, "MjjYud")]'
|
|
|
+title_xpath = './/h3[1]'
|
|
|
+href_xpath = './/a/@href'
|
|
|
+content_xpath = './/div[@data-content-feature=1]'
|
|
|
|
|
|
|
|
|
g_section_with_header = './g-section-with-header'
|
|
|
|
|
|
-
|
|
|
-title_xpath = './/h3[1]'
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-href_xpath = './/div[@class="yuRUbf"]//a/@href'
|
|
|
-
|
|
|
-
|
|
|
-content_xpath = './/div[contains(@class, "VwiC3b")]'
|
|
|
|
|
|
|
|
|
|
|
@@ -261,7 +254,7 @@ def request(query, params):
|
|
|
if use_mobile_ui:
|
|
|
additional_parameters = {
|
|
|
'asearch': 'arc',
|
|
|
- 'async': 'use_ac:true,_fmt:pc',
|
|
|
+ 'async': 'use_ac:true,_fmt:html',
|
|
|
}
|
|
|
|
|
|
|