|
@@ -19,6 +19,7 @@ class LongArticlesPipeline(object):
|
|
|
:param index_list:
|
|
|
:return:
|
|
|
"""
|
|
|
+ print("开始请求")
|
|
|
url = "http://localhost:6060/title_list"
|
|
|
response = requests.request(
|
|
|
"POST",
|
|
@@ -32,6 +33,7 @@ class LongArticlesPipeline(object):
|
|
|
"msg_type": "9"
|
|
|
}
|
|
|
)
|
|
|
+ print(response.status_code)
|
|
|
print(response.json())
|
|
|
return response.json()['title_list']
|
|
|
|