JustAnotherArchivist / snscrape

A social networking service scraper in Python
GNU General Public License v3.0
4.33k stars 699 forks source link

Can I also scrape retweet and like count? #177

Closed JSMboli closed 3 years ago

JSMboli commented 3 years ago

I used snscrape just now and still works for me. I however did not use tweet id, I search for some terms and was able to retrieve date, id, username, content and url.

tweet.url, tweet.content, tweet.id, tweet.date all worked but tweet.user, tweet.likecount, tweet.retweetcount and tweet.place returns the following error: AttributeError: 'Tweet' object has no attribute 'user' same for like, place and retweet.

I also want to retrieve retweets and likes count but not sure how to do that. Thank you.

JustAnotherArchivist commented 3 years ago

Duplicate of #158

Specifically, you need the development version of snscrape. Also, it's likeCount, not likecount.

JSMboli commented 3 years ago

Hi, Thank you so much. I followed the issue #158 and it worked.

On Tue, Dec 29, 2020 at 8:35 PM JustAnotherArchivist < notifications@github.com> wrote:

Duplicate of #158 https://github.com/JustAnotherArchivist/snscrape/issues/158

Specifically, you need the development version of snscrape. Also, it's likeCount, not likecount.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JustAnotherArchivist/snscrape/issues/177#issuecomment-752232792, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFHZEAPFBDUFQJJQW6VHGRTSXI4SPANCNFSM4VNNIAVA .

-- Mboli Sechang Julius

SBC N0.1 Magami

P.M.B 659 Jalingo Taraba State

Nigeria

+2348032732259

mboli4god@gmail.com

twitter: mbolij skype: mbolij