-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add www.yomiuri.co.jp custom parser #381
feat: add www.yomiuri.co.jp custom parser #381
Conversation
🤖 Automated Parsing Preview 🤖Commit: Original Article | HTML Fixture | Parsed Content Preview Parsed JSON{
"title": "バルセロナ、マンUに先勝…CL準々決勝第1戦",
"content": "<div><div class=\"p-main-contents\">\n <figure id=\"attachment_532857\" class=\"wp-caption none thumbnails-left\"><a href=\"https://www.yomiuri.co.jp/media/2019/04/20190411-OYT1I50076-1.jpg\"><img src=\"https://www.yomiuri.co.jp/media/2019/04/20190411-OYT1I50076-1.jpg?type=large\" alt=\"先制点が決まり、喜ぶバルセロナのメッシ(左)とスアレス=ロイター\" width=\"563\" class=\"wp-image-532857 alignleft\"></a><figcaption class=\"wp-caption-text\">先制点が決まり、喜ぶバルセロナのメッシ(左)とスアレス=ロイター</figcaption></figure><p class=\"par1\"> 【ロンドン=岡田浩幸】10日に行われたサッカー・欧州チャンピオンズリーグ(CL)の準々決勝第1戦で、4季ぶりの優勝を目指すバルセロナ(スペイン)はアウェーでマンチェスター・ユナイテッド(イングランド)に1―0で勝ち、4強入りに前進した。アヤックス(オランダ)はホームでユベントス(イタリア)と1―1で引き分けた。ユベントスは、けがから復帰したポルトガル代表FWロナルドが先制点を挙げた。両カードの第2戦は16日に行われる。</p>\n\n\n\n </div></div>",
"author": null,
"date_published": "2019-04-11T13:22:00.000Z",
"lead_image_url": "https://www.yomiuri.co.jp/media/2019/04/20190411-OYT1I50076-1.jpg?type=ogp",
"dek": null,
"next_page_url": null,
"url": "https://www.yomiuri.co.jp/sports/soccer/20190411-OYT1T50287/",
"domain": "www.yomiuri.co.jp",
"word_count": 59,
"direction": "ltr",
"total_pages": 1,
"rendered_pages": 1
}
✅ All tests passed |
f47eef9
to
c535072
Compare
🤖 Automated Parsing Preview 🤖Commit: Original Article | HTML Fixture | Parsed Content Preview Parsed JSON{
"title": "バルセロナ、マンUに先勝…CL準々決勝第1戦",
"content": "<div><div class=\"p-main-contents\">\n <figure id=\"attachment_532857\" class=\"wp-caption none thumbnails-left\"><a href=\"https://www.yomiuri.co.jp/media/2019/04/20190411-OYT1I50076-1.jpg\"><img src=\"https://www.yomiuri.co.jp/media/2019/04/20190411-OYT1I50076-1.jpg?type=large\" alt=\"先制点が決まり、喜ぶバルセロナのメッシ(左)とスアレス=ロイター\" width=\"563\" class=\"wp-image-532857 alignleft\"></a><figcaption class=\"wp-caption-text\">先制点が決まり、喜ぶバルセロナのメッシ(左)とスアレス=ロイター</figcaption></figure><p class=\"par1\"> 【ロンドン=岡田浩幸】10日に行われたサッカー・欧州チャンピオンズリーグ(CL)の準々決勝第1戦で、4季ぶりの優勝を目指すバルセロナ(スペイン)はアウェーでマンチェスター・ユナイテッド(イングランド)に1―0で勝ち、4強入りに前進した。アヤックス(オランダ)はホームでユベントス(イタリア)と1―1で引き分けた。ユベントスは、けがから復帰したポルトガル代表FWロナルドが先制点を挙げた。両カードの第2戦は16日に行われる。</p>\n\n\n\n </div></div>",
"author": null,
"date_published": "2019-04-11T13:22:00.000Z",
"lead_image_url": "https://www.yomiuri.co.jp/media/2019/04/20190411-OYT1I50076-1.jpg?type=ogp",
"dek": null,
"next_page_url": null,
"url": "https://www.yomiuri.co.jp/sports/soccer/20190411-OYT1T50287/",
"domain": "www.yomiuri.co.jp",
"word_count": 59,
"direction": "ltr",
"total_pages": 1,
"rendered_pages": 1
}
✅ All tests passed |
🤖 Automated Parsing Preview 🤖Commit: Original Article | HTML Fixture | Parsed Content Preview Parsed JSON{
"title": "バルセロナ、マンUに先勝…CL準々決勝第1戦",
"content": "<div><div class=\"p-main-contents\">\n <figure id=\"attachment_532857\" class=\"wp-caption none thumbnails-left\"><a href=\"https://www.yomiuri.co.jp/media/2019/04/20190411-OYT1I50076-1.jpg\"><img src=\"https://www.yomiuri.co.jp/media/2019/04/20190411-OYT1I50076-1.jpg?type=large\" alt=\"先制点が決まり、喜ぶバルセロナのメッシ(左)とスアレス=ロイター\" width=\"563\" class=\"wp-image-532857 alignleft\"></a><figcaption class=\"wp-caption-text\">先制点が決まり、喜ぶバルセロナのメッシ(左)とスアレス=ロイター</figcaption></figure><p class=\"par1\"> 【ロンドン=岡田浩幸】10日に行われたサッカー・欧州チャンピオンズリーグ(CL)の準々決勝第1戦で、4季ぶりの優勝を目指すバルセロナ(スペイン)はアウェーでマンチェスター・ユナイテッド(イングランド)に1―0で勝ち、4強入りに前進した。アヤックス(オランダ)はホームでユベントス(イタリア)と1―1で引き分けた。ユベントスは、けがから復帰したポルトガル代表FWロナルドが先制点を挙げた。両カードの第2戦は16日に行われる。</p>\n\n\n\n </div></div>",
"author": null,
"date_published": "2019-04-11T13:22:00.000Z",
"lead_image_url": "https://www.yomiuri.co.jp/media/2019/04/20190411-OYT1I50076-1.jpg?type=ogp",
"dek": null,
"next_page_url": null,
"url": "https://www.yomiuri.co.jp/sports/soccer/20190411-OYT1T50287/",
"domain": "www.yomiuri.co.jp",
"word_count": 59,
"direction": "ltr",
"total_pages": 1,
"rendered_pages": 1
}
✅ All tests passed |
add www.yomiuri.co.jp custom parser