Noemi Vanyi 8 年前
父节点
当前提交
a7c8d5882c
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1
    0
      searx/engines/google_images.py
  2. 1
    0
      searx/engines/yahoo.py

+ 1
- 0
searx/engines/google_images.py 查看文件

31
                    'week': 'w',
31
                    'week': 'w',
32
                    'month': 'm'}
32
                    'month': 'm'}
33
 
33
 
34
+
34
 # do search-request
35
 # do search-request
35
 def request(query, params):
36
 def request(query, params):
36
     offset = (params['pageno'] - 1) * 100
37
     offset = (params['pageno'] - 1) * 100

+ 1
- 0
searx/engines/yahoo.py 查看文件

38
                    'week': ['1w', 'w'],
38
                    'week': ['1w', 'w'],
39
                    'month': ['1m', 'm']}
39
                    'month': ['1m', 'm']}
40
 
40
 
41
+
41
 # remove yahoo-specific tracking-url
42
 # remove yahoo-specific tracking-url
42
 def parse_url(url_string):
43
 def parse_url(url_string):
43
     endings = ['/RS', '/RK']
44
     endings = ['/RS', '/RK']