Commit 137e06b2 by zhiwei

修复微头条采集

parent 7decb33f
...@@ -378,7 +378,7 @@ public class TouTiaoArticleParse { ...@@ -378,7 +378,7 @@ public class TouTiaoArticleParse {
Long max_behot_time) throws IOException { Long max_behot_time) throws IOException {
String url = "https://www.toutiao.com/api/pc/feed/?category=pc_profile_ugc&utm_source=toutiao&visit_user_id=" + user_id; String url = "https://www.toutiao.com/api/pc/feed/?category=pc_profile_ugc&utm_source=toutiao&visit_user_id=" + user_id;
if (max_behot_time != null) { if (max_behot_time != null) {
url = url + "?max_behot_time=" + max_behot_time; url = url + "&max_behot_time=" + max_behot_time;
} }
logger.info("微头条采集链接:::{}", url); logger.info("微头条采集链接:::{}", url);
Map<String, String> headerMap = Tools.getTouTiaoHeader(); Map<String, String> headerMap = Tools.getTouTiaoHeader();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment