|
|
|
@ -6756,3 +6756,48 @@
|
|
|
|
|
2022-04-21 17:27:52.938 | DEBUG | dcs.tests.spider_task:compose_result:192 - {1: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 2: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 3: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 4: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 5: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 6: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}}
|
|
|
|
|
2022-04-21 17:27:53.082 | DEBUG | dcs.tests.spider_task:compose_result:192 - {1: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 2: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 3: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 4: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 5: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 6: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}}
|
|
|
|
|
2022-04-21 17:27:53.088 | INFO | dcs.communicate:run:33 - sending response to ('127.0.0.1', 9000): {'0': {'name': 'remote', 'college': 'remote', 'major': 'remote', 'paper': 'remote'}, 1: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 2: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 3: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 4: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 5: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 6: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 'type': 'response'}
|
|
|
|
|
2022-04-21 20:42:26.366 | DEBUG | __main__:<module>:14 - reading config args...
|
|
|
|
|
2022-04-21 20:42:26.367 | DEBUG | __main__:<module>:21 - starting the main server...
|
|
|
|
|
2022-04-21 20:42:26.367 | DEBUG | __main__:<module>:26 - starting the requester server...
|
|
|
|
|
2022-04-21 20:42:26.368 | DEBUG | __main__:<module>:31 - starting the spider server...
|
|
|
|
|
2022-04-21 20:42:26.374 | DEBUG | __main__:<module>:36 - starting the user server...
|
|
|
|
|
2022-04-21 20:42:26.398 | DEBUG | __main__:<module>:41 - starting the communicator server...
|
|
|
|
|
2022-04-21 20:42:56.466 | DEBUG | dcs.server:run:25 - connected to client ('127.0.0.1', 9000)
|
|
|
|
|
2022-04-21 20:42:56.496 | INFO | dcs.user_process:run:18 - processing user request...
|
|
|
|
|
2022-04-21 20:42:56.496 | INFO | dcs.tests.user_request_handler:register:37 - [REQUEST] register
|
|
|
|
|
2022-04-21 20:42:56.820 | INFO | dcs.tests.user_request_handler:register:45 - [RESPONSE] register: 用户名已存在,注册失败
|
|
|
|
|
2022-04-21 20:42:56.832 | INFO | dcs.communicate:run:26 - sending response to ('127.0.0.1', 9000): {'register': '用户名已存在,注册失败'}
|
|
|
|
|
2022-04-21 20:42:56.856 | INFO | dcs.user_process:run:18 - processing user request...
|
|
|
|
|
2022-04-21 20:42:56.874 | INFO | dcs.tests.user_request_handler:login:26 - [REQUEST] login
|
|
|
|
|
2022-04-21 20:42:57.404 | INFO | dcs.tests.user_request_handler:login:34 - [RESPONSE] cookie: e1e6455f7b01ba14326145dd8f96e6b8c365ac1b
|
|
|
|
|
2022-04-21 20:42:57.428 | INFO | dcs.communicate:run:26 - sending response to ('127.0.0.1', 9000): {'cookie': 'e1e6455f7b01ba14326145dd8f96e6b8c365ac1b'}
|
|
|
|
|
2022-04-21 20:42:57.471 | INFO | dcs.user_process:run:18 - processing user request...
|
|
|
|
|
2022-04-21 20:42:57.483 | INFO | dcs.tests.user_request_handler:report_state:16 - [REQUEST] report free
|
|
|
|
|
2022-04-21 20:42:57.483 | INFO | dcs.tests.user_request_handler:report_state:23 - [RESPONSE] report free: success marked e1e6455f7b01ba14326145dd8f96e6b8c365ac1b
|
|
|
|
|
2022-04-21 20:42:57.506 | INFO | dcs.communicate:run:26 - sending response to ('127.0.0.1', 9000): {'report_free': 'success marked e1e6455f7b01ba14326145dd8f96e6b8c365ac1b'}
|
|
|
|
|
2022-04-21 20:42:57.530 | INFO | dcs.tests.spider_task:distribute_task:154 - distributing task: (('127.0.0.1', 9000), {'action': 'crawl zhiwang', 'word': 'computer', 'pages_start': 1, 'pages_end': 10, 'cookie': 'e1e6455f7b01ba14326145dd8f96e6b8c365ac1b'})
|
|
|
|
|
2022-04-21 20:42:57.530 | DEBUG | dcs.tests.spider_task:distribute_task:167 - [<dcs.tests.spider_task.Spider_partial_task object at 0x00000232DCE0F100>, <dcs.tests.spider_task.Spider_partial_task object at 0x00000232DCE0F6D0>, <dcs.tests.spider_task.Spider_partial_task object at 0x00000232DCE0F5B0>]
|
|
|
|
|
2022-04-21 20:42:57.530 | DEBUG | dcs.tests.spider_task:run:203 - [<socket.socket fd=1660, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 7777), raddr=('127.0.0.1', 9000)>]
|
|
|
|
|
2022-04-21 20:42:57.531 | DEBUG | dcs.tests.spider_task:run:215 - generating remote task
|
|
|
|
|
2022-04-21 20:42:57.531 | INFO | dcs.requester:get:44 - sending crawl request to ('127.0.0.1', 9000)
|
|
|
|
|
2022-04-21 20:42:57.545 | DEBUG | dcs.tests.spider_task:run:223 - generating local task
|
|
|
|
|
2022-04-21 20:42:57.557 | INFO | dcs.communicate:run:26 - sending response to ('127.0.0.1', 9000): {'crawling state': 'starting, please wait...'}
|
|
|
|
|
2022-04-21 20:42:57.563 | INFO | dcs.tests.requestHandler:run:20 - [REQUEST] end
|
|
|
|
|
2022-04-21 20:42:57.569 | DEBUG | dcs.requester:run:70 - receiving remote task result, saving...
|
|
|
|
|
2022-04-21 20:42:57.569 | DEBUG | dcs.tests.spider_task:run:223 - generating local task
|
|
|
|
|
2022-04-21 20:42:57.599 | DEBUG | dcs.tests.requestHandler:run:21 - communication over from ('127.0.0.1', 9000)!
|
|
|
|
|
2022-04-21 20:42:57.641 | DEBUG | dcs.requester:run:74 - result: {'0': {'name': 'remote', 'college': 'remote', 'major': 'remote', 'paper': 'remote'}}
|
|
|
|
|
2022-04-21 20:42:58.163 | DEBUG | dcs.tests.spider_task:test_simulation:102 - simulation crawling...
|
|
|
|
|
2022-04-21 20:42:58.163 | INFO | dcs.tests.spider_task:write2database:35 - writing to database: test
|
|
|
|
|
2022-04-21 20:42:58.176 | DEBUG | dcs.tests.spider_task:test_simulation:102 - simulation crawling...
|
|
|
|
|
2022-04-21 20:42:58.176 | INFO | dcs.tests.spider_task:write2database:35 - writing to database: test
|
|
|
|
|
2022-04-21 20:42:58.353 | INFO | dcs.tests.spider_task:write2database:35 - writing to database: test
|
|
|
|
|
2022-04-21 20:42:58.394 | INFO | dcs.tests.spider_task:write2database:35 - writing to database: test
|
|
|
|
|
2022-04-21 20:42:58.690 | INFO | dcs.tests.spider_task:write2database:35 - writing to database: test
|
|
|
|
|
2022-04-21 20:42:58.726 | INFO | dcs.tests.spider_task:write2database:35 - writing to database: test
|
|
|
|
|
2022-04-21 20:42:58.978 | INFO | dcs.tests.spider_task:run:118 - partial crawl task finished: (('127.0.0.1', 9000), {'action': 'crawl zhiwang', 'word': 'computer', 'pages_start': 7, 'pages_end': 10, 'cookie': 'e1e6455f7b01ba14326145dd8f96e6b8c365ac1b'})
|
|
|
|
|
2022-04-21 20:42:59.002 | INFO | dcs.tests.spider_task:run:118 - partial crawl task finished: (('127.0.0.1', 9000), {'action': 'crawl zhiwang', 'word': 'computer', 'pages_start': 4, 'pages_end': 7, 'cookie': 'e1e6455f7b01ba14326145dd8f96e6b8c365ac1b'})
|
|
|
|
|
2022-04-21 20:42:59.038 | DEBUG | dcs.tests.spider_task:compose_result:177 - composing task...
|
|
|
|
|
2022-04-21 20:42:59.230 | DEBUG | dcs.tests.spider_task:compose_result:192 - {1: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 2: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 3: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 4: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 5: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 6: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}}
|
|
|
|
|
2022-04-21 20:42:59.476 | DEBUG | dcs.tests.spider_task:compose_result:192 - {1: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 2: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 3: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 4: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 5: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 6: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}}
|
|
|
|
|
2022-04-21 20:42:59.497 | INFO | dcs.communicate:run:33 - sending response to ('127.0.0.1', 9000): {'0': {'name': 'remote', 'college': 'remote', 'major': 'remote', 'paper': 'remote'}, 1: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 2: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 3: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 4: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 5: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 6: {'name': 'test', 'college': 'test', 'major': 'test', 'paper': 'test'}, 'type': 'response'}
|
|
|
|
|