{"id":19336841,"url":"https://github.com/blackbbc/acfun-deleted-comments","last_synced_at":"2025-04-23T01:30:54.696Z","repository":{"id":35617588,"uuid":"39891294","full_name":"blackbbc/Acfun-Deleted-Comments","owner":"blackbbc","description":"A spider for Acfun's deleted comments","archived":false,"fork":false,"pushed_at":"2016-06-27T16:07:16.000Z","size":10920,"stargazers_count":5,"open_issues_count":2,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T06:12:13.628Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackbbc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-29T12:07:17.000Z","updated_at":"2022-10-24T12:34:28.000Z","dependencies_parsed_at":"2022-09-08T09:02:41.793Z","dependency_job_id":null,"html_url":"https://github.com/blackbbc/Acfun-Deleted-Comments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbbc%2FAcfun-Deleted-Comments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbbc%2FAcfun-Deleted-Comments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbbc%2FAcfun-Deleted-Comments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbbc%2FAcfun-Deleted-Comments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackbbc","download_url":"https://codeload.github.com/blackbbc/Acfun-Deleted-Comments/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250352184,"owners_count":21416454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T03:12:39.249Z","updated_at":"2025-04-23T01:30:52.626Z","avatar_url":"https://github.com/blackbbc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Delete-So\n\u003e 感谢原作者[@小川](https://github.com/yuadsl3010/Delete-So)的源代码\n\u003e 本人只是将爬虫用Pyspider重写了一遍 预计性能会更好\n\n###网站地址：[http://162.243.138.81:8000](http://162.243.138.81:8000)\n\n\n#### 数据结构：\n  acid     |  updatetime  |  age  |  total\n  ----     |  ----------  |  ---  |  -----\n  2707837  |  1462251474  |  300  |  10\n  2707885  |  1462251827  |  162  |  5\n\n#### 算法：\n```python\nif delta == 0:\n\tage = age * 1.1\nelse:\n\tage = age * 0.8 + (age / delta) * 0.1\n```\n\n***********\n####To do list\n- [x] 根据文章评论的增长速度确定爬虫的跟踪时间\n- [x] 返回的analyze comment只能返回一条，一条就一条吧！\n- [x] project update后所有的变量会被重置？！注释掉project_module.py里_need_update函数中的关于RELOAD_PROJECT_INTERVAL的语句\n\n**********\n\n\u003cp\u003e代码路径：\u003c/p\u003e\n\u003cp\u003e|--django //网站源码\u003c/p\u003e\n\u003cp\u003e|--sweet-spider //爬虫源码\u003c/p\u003e\n\u003cp\u003e|--README.md \u003c/p\u003e\n\u003cp\u003e最近正在将之前的代码迁移至django上，方面以后网站的拓展\u003c/p\u003e\n\u003cp\u003e分享想法、乐趣和代码！\u003c/p\u003e\n***************\n\n###附：可用API\n####获取视频信息\nhttp://www.acfun.tv/api/content.aspx?query=1288500\n\nhttp://api.acfun.tv/apiserver/content/info?contentId=1741857\n####获取评论信息\nhttp://www.acfun.tv/comment_list_json.aspx?contentId=1777166\u0026currentPage=1\n\n####获取频道信息\nhttp://api.acfun.tv/apiserver/content/channel?orderBy=1\u0026channelId=110\u0026pageSize=20\u0026pageNo=1\n\n###以下api共用头\n```json\n\"deviceType\":\"1\"\n```\n\n####今日查看最多\nhttp://api.aixifan.com/searches/channel?channelIds=110\u0026pageNo=1\u0026pageSize=10\u0026sort=1\u0026range=86400000\n\n####今日评论最多\nhttp://api.aixifan.com/searches/channel?channelIds=110\u0026pageNo=1\u0026pageSize=10\u0026sort=2\u0026range=86400000\n\n####今日收藏最多\nhttp://api.aixifan.com/searches/channel?channelIds=110\u0026pageNo=1\u0026pageSize=10\u0026sort=3\u0026range=86400000\n\n####今日最新文章\nhttp://api.aixifan.com/searches/channel?channelIds=110\u0026pageNo=1\u0026pageSize=10\u0026sort=4\u0026range=86400000\n\n####今日最新回复\nhttp://api.aixifan.com/searches/channel?channelIds=110\u0026pageNo=1\u0026pageSize=10\u0026sort=5\u0026range=86400000\n\n####sort类型\n```\n\"1\": 围观最多\n\"2\": 评论最多\n\"3\": 收藏最多\n\"4\": 最新发布\n\"5\": 最新回复\n```\n\n####所有频道信息\n```java\n    public static final class id {\n\n        public static final int ANIMATION = 1;\n        public static final int MUSIC     = 58;\n        public static final int GAME      = 59;\n        public static final int FUN       = 60;\n        public static final int BANGUMI   = 67;\n        public static final int VIDEO     = 68;\n        public static final int SPORT     = 69;\n        public static final int SCIENCE   = 70;\n        public static final int FLASH     = 71;\n        public static final int MUGEN     = 72;\n\n        public static final class ARTICLE {\n            public static final int ARTICLE           = 63;\n            public static final int COLLECTION        = 110;\n            public static final int WORK_EMOTION      = 73;\n            public static final int AN_CULTURE        = 74;\n            public static final int COMIC_LIGHT_NOVEL = 75;\n        }\n\n        public static final int BEST_GAME   = 83;\n        public static final int LIVE_OB     = 84;\n        public static final int LOL         = 85;\n        public static final int FUNY        = 86;\n        public static final int KICHIKU     = 87;\n        public static final int PET         = 88;\n        public static final int EAT         = 89;\n        public static final int MOVIE       = 96;\n        public static final int TV          = 97;\n        public static final int VARIETY     = 98;\n        public static final int PILI        = 99;\n        public static final int DOCUMENTARY = 100;\n        public static final int SING        = 101;\n        public static final int DANCE       = 102;\n        public static final int VOCALOID    = 103;\n        public static final int ACG         = 104;\n        public static final int POP         = 105;\n        public static final int AN_LITE     = 106;\n        public static final int MAD_AMV     = 107;\n        public static final int MMD_3D      = 108;\n        public static final int AN_COMP     = 109;\n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackbbc%2Facfun-deleted-comments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackbbc%2Facfun-deleted-comments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackbbc%2Facfun-deleted-comments/lists"}