Merge pull request #73 from bb010g/patch-1
Fix for Tweets without extended_entities
This commit is contained in:
commit
4fd8e7f983
@ -47,7 +47,7 @@ function run(msg, matches)
|
||||
|
||||
-- remove images
|
||||
local images = {}
|
||||
if response.extended_entities.media then
|
||||
if response.extended_entities and response.extended_entities.media then
|
||||
for k, v in pairs(response.extended_entities.media) do
|
||||
local url = v.url
|
||||
local pic = v.media_url
|
||||
|
Reference in New Issue
Block a user