aijuke_spider/spiders/douyin/douyin_search_spider.py | ●●●●● patch | view | raw | blame | history |
aijuke_spider/spiders/douyin/douyin_search_spider.py
@@ -62,6 +62,7 @@ self.logger.info(task.to_dict()) self.logger.info(demand.to_dict()) params: dict = self.params.copy() demand.content= demand.content.replace('\n', '').replace('\r', '').replace('\t', '').replace(' ', '').replace(',', ',') for content in demand.content.split(','): params.update({'keyword': content}) headers = self.headers.copy()