更新: これは数日間の一時的な問題でした。
Python の Apple ニュース API クライアントを開発し、Apple ニュース チャネルで記事をプレビューすることに成功しました。とにかく、それらの記事の状態を確認すると、ほとんどが FAILED_PROCESSING です。ライブになったのは 1 つだけでしたが、画像 (アニメーション GIF) はありませんでした。
エラーに関する詳細はなく、何が問題なのか推測できません。記事はニュース プレビュー ツールで見栄えがします。誰も手がかりを持っていますか?問題をデバッグする方法はありますか?
ありがとう!
>>>api_key = 'xxxxx'
>>>secret_key = 'xxxx'
>>>channel_id = 'xxxx'
>>>client = ApiClient(api_key, secret_key, channel_id=channel_id)
>>>articles = client.search_articles()
>>>articles
{u'data': [{u'accessoryText': None,
u'createdAt': u'2016-04-27T08:36:35Z',
u'id': u'xxxxx',
u'isCandidateToBeFeatured': False,
u'isDevelopingStory': False,
u'isPreview': True,
u'isSponsored': False,
u'links': {u'channel': u'https://news-api.apple.com/channels/xxxxx',
u'sections': [u'https://news-api.apple.com/sections/xxxxx'],
u'self': u'https://news-api.apple.com/articles/xxxxx'},
u'modifiedAt': u'2016-04-27T08:36:47Z',
u'revision': u'AAAAAAAAAAD//////////w==',
u'shareUrl': u'https://apple.news/xxxxxx',
u'state': u'FAILED_PROCESSING',
u'title': u'Test 1',
u'type': u'article'},
....
{u'accessoryText': None,
u'createdAt': u'2016-04-14T07:07:27Z',
u'id': u'xxxx',
u'isCandidateToBeFeatured': False,
u'isDevelopingStory': False,
u'isPreview': True,
u'isSponsored': False,
u'links': {u'channel': u'https://news-api.apple.com/channels/xxxx',
u'sections': [u'https://news-api.apple.com/sections/xxxx'],
u'self': u'https://news-api.apple.com/articles/xxxx'},
u'modifiedAt': u'2016-04-14T07:07:45Z',
u'revision': u'AAAAAAAAAAD//////////w==',
u'shareUrl': u'https://apple.news/xxxx',
u'state': u'LIVE',
u'title': u"Test 2",
u'type': u'article'}],
u'links': {u'next': None,
u'self': u'https://news-api.apple.com/channels/xxxx/articles'}}