ntscraper
ntscraper copied to clipboard
How to obtain forwarding relationships
Hello, may I ask how to crawl down the forwarding relationship of a tweet, including multi-level forwarding relationships?
How to get the retweet relationship of a tweet, including multi-level retweets, please help me.
Hi, I'm not sure I understand what you mean by forwarding relationship. If a tweet is a retweet, the attribute "is-retweet" will be true. Unfortunately I can't retrieve the user that made the retweet because the information is not included in the webpage (there is only a string "user X retweeted" but no username).
Sorry, I didn't make it clear. I want to get the username of a tweet about quotes and reposts. For example, for a tweet, who retweeted it.
For now that is not obtainable because in search mode the username of the user who made a retweet is not available. I'll implement the scraping of single tweets and their information like retweets and favorites at some point.
I understand, thank you.