mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Correct display of link to quoted tweet
This commit is contained in:
parent
b09ee35f5c
commit
47d17f4cc5
2
twoot.py
2
twoot.py
|
@ -1053,7 +1053,7 @@ def main(argv):
|
||||||
# Process quote: append link to tweet_text
|
# Process quote: append link to tweet_text
|
||||||
quote_div = status.find('a', class_='quote-link')
|
quote_div = status.find('a', class_='quote-link')
|
||||||
if quote_div is not None:
|
if quote_div is not None:
|
||||||
tweet_text += substitute_source('\n\nhttps://twitter.com' + quote_div.get('href').strip('#m'))
|
tweet_text += '\n\n' + substitute_source('https://twitter.com' + quote_div.get('href').strip('#m'))
|
||||||
|
|
||||||
# Process card : extract image if necessary
|
# Process card : extract image if necessary
|
||||||
card_class = status.find('a', class_='card-container')
|
card_class = status.find('a', class_='card-container')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user