Merge pull request #724 from quentinwolf/patch-1

Twitter: change fullUrl to use 'orig' instead of 'large'
This commit is contained in:
JustAnotherArchivist
2023-02-19 02:55:27 +00:00
committed by GitHub

View File

@@ -957,7 +957,7 @@ class _TwitterAPIScraper(snscrape.base.Scraper):
return
mKwargs = {
'previewUrl': f'{baseUrl}?format={format}&name=small',
'fullUrl': f'{baseUrl}?format={format}&name=large',
'fullUrl': f'{baseUrl}?format={format}&name=orig',
}
if medium.get('ext_alt_text'):
mKwargs['altText'] = medium['ext_alt_text']