{"id":19140521,"url":"https://github.com/livingbio/news_parser","last_synced_at":"2025-10-30T23:39:35.888Z","repository":{"id":89727979,"uuid":"49625840","full_name":"livingbio/news_parser","owner":"livingbio","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-25T05:31:12.000Z","size":26287,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-09-30T09:51:59.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/livingbio.png","metadata":{"files":{"readme":"readme.mkd","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-01-14T05:50:41.000Z","updated_at":"2016-07-06T08:54:53.000Z","dependencies_parsed_at":"2025-09-11T02:36:34.214Z","dependency_job_id":null,"html_url":"https://github.com/livingbio/news_parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/livingbio/news_parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livingbio%2Fnews_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livingbio%2Fnews_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livingbio%2Fnews_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livingbio%2Fnews_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/livingbio","download_url":"https://codeload.github.com/livingbio/news_parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livingbio%2Fnews_parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281901700,"owners_count":26581157,"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","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T07:17:50.701Z","updated_at":"2025-10-30T23:39:35.860Z","avatar_url":"https://github.com/livingbio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/livingbio/news_parser.svg?branch=master)](https://travis-ci.org/livingbio/news_parser)\n\n#### 實習生parser 列表\n\n說明\n---\n\n待parser\n---\n\n1. 科技新報        http://technews.tw/2016/01/04/tiobe-2015-programming-language-index/  #alec\n2. 新頭殼      http://newtalk.tw/news/view/2016-01-14/69148 #\n3. 三立新聞網      http://www.setn.com/News.aspx?NewsID=118251  #AaronLai_intern\n4. 數位時代        http://www.bnext.com.tw/article/view/id/37335  #tsaiJN\n5. 華視新聞     http://news.cts.com.tw/ #sharon\n6. tvbs         http://news.tvbs.com.tw/ #chuyun\n\n需要欄位\n---\n\n名稱| 說明\n---|---\nurl| 該新聞 url\nsource_press| 新聞來源(轉貼某間自?)\ntitle| 新聞title\npost_time| 發佈時間\njournalist| 記者(作者)\ncontent| 新聞內文\npopularity| 人氣\ncompare| 評比\nkeywords| 關鍵字\nfb_like| fb 按讚數(可選)\nfb_share| fb share 數(可選)\ncategory| 類別\ncomment| 回覆\n\n\ncomment 說明\n\nname| 說明\n---|---\nacotr| 作者\nlike| 喜歡數量\ndislike| 討厭數量\npost_time| 回復時間\nsource_type| 來源類別（fb...etc）\nsub_comment| 子回應\n\n\n\n需求spec\n---\n1. 頁面 parser\n```python\ndef parser_page(url):\n    \"\"\"\n    parser page method\n    主要用於抓取新聞detail頁面資訊\n\n    page_data = parser_page(news detail url)\n    \"\"\"\n\n    return {\n        \"url\": string\n        \"source_press\": string\n        \"title\": string\n        \"post_time\": datetime.datetime()\n        \"journalist\": string\n        \"content\": string\n        \"compare\": string\n        \"keyword\": [string, string, ...]\n        \"fb_like\": int\n        \"fb_share\": int\n        \"category\": [category, category]\n        \"comment\": [{\n            \"actor\": str\n            \"like\": int\n            \"dislike\": int\n            \"content\": str\n            \"post_time\": datetime.datetime\n            \"source_type\": string\n\n            sub_comments: [{\n                \"actor\": str\n                \"like\": int\n                \"dislike\": int\n                \"content\": str\n                \"post_time\": datetime.datetime\n                \"source_type\": string\n            }]\n        }]\n    }\n```\n\n2. detail url 取得\n```python\ndef get_category_urls(category_url):\n    \"\"\"\n    get_category_urls\n    根據category 頁面取得 detail urls\n\n    detail_urls = get_category_urls(category_url)\n    \"\"\"\n    return [detail_url, detail_url, detail_url]\n\n```\n\n\n\n\ndjango 需求\n---\n\n1. 設計一套models 儲存 留言, 文章 # django models\n2. 我需要能夠幫我filter 文章和留言的api (支援csv, json)\n3. 使用django admin 介面管理 留言 \u0026 文章 # django admin\n4. 我需要有一個能夠更新單一新聞網站的 command # django command\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivingbio%2Fnews_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivingbio%2Fnews_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivingbio%2Fnews_parser/lists"}