|
@@ -10,7 +10,7 @@ import json
|
|
from content_spider.Util import md5
|
|
from content_spider.Util import md5
|
|
|
|
|
|
|
|
|
|
-name = 'baichuanzw'
|
|
|
|
|
|
+name = 'baichuan'
|
|
allowed_domains = ['fenxiao.baichuanzw.com']
|
|
allowed_domains = ['fenxiao.baichuanzw.com']
|
|
source = 'zy_baichuan'
|
|
source = 'zy_baichuan'
|
|
source_name = 'baichuan百川'
|
|
source_name = 'baichuan百川'
|
|
@@ -130,7 +130,7 @@ class baichuanzw(object):
|
|
|
|
|
|
|
|
|
|
class baichuanzwSpider(baichuanzw, baseSpider):
|
|
class baichuanzwSpider(baichuanzw, baseSpider):
|
|
- name = 'baichuanzw'
|
|
|
|
|
|
+ name = 'baichuan'
|
|
custom_settings = {
|
|
custom_settings = {
|
|
'DOWNLOAD_DELAY': 0.1,
|
|
'DOWNLOAD_DELAY': 0.1,
|
|
'SOURCE': source,
|
|
'SOURCE': source,
|
|
@@ -139,7 +139,7 @@ class baichuanzwSpider(baichuanzw, baseSpider):
|
|
|
|
|
|
|
|
|
|
class baichuanzwupdateSpider(baichuanzw, baseUpdateSpider):
|
|
class baichuanzwupdateSpider(baichuanzw, baseUpdateSpider):
|
|
- name = 'baichuanzwupdate'
|
|
|
|
|
|
+ name = 'baichuanupdate'
|
|
custom_settings = {
|
|
custom_settings = {
|
|
'DOWNLOAD_DELAY': 0.1,
|
|
'DOWNLOAD_DELAY': 0.1,
|
|
'SOURCE': source,
|
|
'SOURCE': source,
|
|
@@ -148,7 +148,7 @@ class baichuanzwupdateSpider(baichuanzw, baseUpdateSpider):
|
|
|
|
|
|
|
|
|
|
class baichuanzwfixSpider(baichuanzw, fixChapterSpider):
|
|
class baichuanzwfixSpider(baichuanzw, fixChapterSpider):
|
|
- name = 'baichuanzwfix'
|
|
|
|
|
|
+ name = 'baichuanfix'
|
|
custom_settings = {
|
|
custom_settings = {
|
|
'DOWNLOAD_DELAY': 0.1,
|
|
'DOWNLOAD_DELAY': 0.1,
|
|
'SOURCE': source,
|
|
'SOURCE': source,
|
|
@@ -157,7 +157,7 @@ class baichuanzwfixSpider(baichuanzw, fixChapterSpider):
|
|
|
|
|
|
|
|
|
|
class baichuanzwBookInfoSpider(baichuanzw, baseUpdateBookStatusSpider):
|
|
class baichuanzwBookInfoSpider(baichuanzw, baseUpdateBookStatusSpider):
|
|
- name = 'baichuanzwbookstatusinfo'
|
|
|
|
|
|
+ name = 'baichuanbookstatusinfo'
|
|
custom_settings = {
|
|
custom_settings = {
|
|
'DOWNLOAD_DELAY': 0.1,
|
|
'DOWNLOAD_DELAY': 0.1,
|
|
'SOURCE': source,
|
|
'SOURCE': source,
|