Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/johzzy/you-get into johz…
Browse files Browse the repository at this point in the history
…zy-develop
  • Loading branch information
soimort committed Mar 3, 2024
2 parents 30d6c64 + ac01a66 commit ad5fdbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/you_get/extractors/twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def twitter_download(url, output_dir='.', merge=True, info_only=False, **kwargs)
page_title = "{} [{}]".format(screen_name, item_id)

# FIXME: this API won't work for protected or nsfw contents
api_url = 'https://cdn.syndication.twimg.com/tweet-result?id=%s' % item_id
api_url = 'https://cdn.syndication.twimg.com/tweet-result?id=%s&token=!' % item_id
content = get_content(api_url)
info = json.loads(content)

Expand Down

0 comments on commit ad5fdbd

Please sign in to comment.