Python 谷歌新闻返回一像素图像
我编写了一个脚本,使用Google news返回一些新闻,下面是返回值的一个示例:Python 谷歌新闻返回一像素图像,python,python-3.x,api,google-api,Python,Python 3.x,Api,Google Api,我编写了一个脚本,使用Google news返回一些新闻,下面是返回值的一个示例: {'title': "Ahead of dropping his BE Concept Photos, BTS' J Hope proves once again why he's the 'King of Mirror Selfies'", 'media': 'PINKVILLA', 'date': 'Hace 1 hora', 'desc': "BTS member J-
{'title': "Ahead of dropping his BE Concept Photos, BTS' J Hope proves once again why he's the 'King of Mirror Selfies'",
'media': 'PINKVILLA',
'date': 'Hace 1 hora',
'desc': "BTS member J-Hope aka Hobi shared two handsome mirror selfies
of himself on Twitter as he updated BTS ARMY that he's all dressed up and ready for winter.",
'link': 'https://www.pinkvilla.com/entertainment/ahead-dropping-his-be-concept-photos-bts-j-hope-proves-once-again-why-hes-king-mirror-selfies-572955',
'img': 'data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='}
如果你看到的图像是base64编码的,解码时,它只是一个像素的图像!你知道会发生什么吗?我知道谷歌新闻不受欢迎,但也许有一个解决方案