瀏覽代碼

[enh] engine header comments

potato 8 年之前
父節點
當前提交
b7d578ae80
共有 2 個檔案被更改,包括 21 行新增0 行删除
  1. 11
    0
      searx/engines/dictzone.py
  2. 10
    0
      searx/engines/translated.py

+ 11
- 0
searx/engines/dictzone.py 查看文件

@@ -1,3 +1,14 @@
1
+"""
2
+ Dictzone
3
+
4
+ @website     https://dictzone.com/
5
+ @provide-api no
6
+ @using-api   no
7
+ @results     HTML (using search portal)
8
+ @stable      no (HTML can change)
9
+ @parse       url, title, content
10
+"""
11
+
1 12
 import re
2 13
 from urlparse import urljoin
3 14
 from lxml import html

+ 10
- 0
searx/engines/translated.py 查看文件

@@ -1,3 +1,13 @@
1
+"""
2
+ MyMemory Translated
3
+
4
+ @website     https://mymemory.translated.net/
5
+ @provide-api yes (https://mymemory.translated.net/doc/spec.php)
6
+ @using-api   yes
7
+ @results     JSON
8
+ @stable      yes
9
+ @parse       url, title, content
10
+"""
1 11
 import re
2 12
 from urlparse import urljoin
3 13
 from lxml import html