Learn how to scrap TWITTER data in python - 2024

  Рет қаралды 16,387

KD code

KD code

Күн бұрын

Пікірлер
@sarvarbekfozilov9829
@sarvarbekfozilov9829 10 ай бұрын
hello bro can u send source code pls
@KDcodeyt
@KDcodeyt 10 ай бұрын
Here is the git hub link : github.com/KDcodeyt/Twitter_scraping Please Subscribe if it's helpful.
@sarvarbekfozilov9829
@sarvarbekfozilov9829 10 ай бұрын
bro how can i also get comments any post@@KDcodeyt
@KDcodeyt
@KDcodeyt 10 ай бұрын
This package is still in developing the feature to retrive comments for the tweets, so we need to use API to retrive them
@damilolasunday7119
@damilolasunday7119 9 ай бұрын
Is there a way I can use the twitter API to generate that ?
@KaitoEasyApi
@KaitoEasyApi Ай бұрын
Great tutorial! For those who want to skip the complexity of building scrapers, I've created a ready-to-use API that handles rate limits and authentication.
@KaitoEasyApi
@KaitoEasyApi Ай бұрын
Great tutorial! For those who want to skip the complexity of building scrapers,
@gauravkumarjaiswal1912
@gauravkumarjaiswal1912 29 күн бұрын
hi there, does this code still work?
@ВладПылаев-ж4р
@ВладПылаев-ж4р 16 күн бұрын
@@gauravkumarjaiswal1912 no
@suigetsuh17
@suigetsuh17 Ай бұрын
Does Nitter still work now? I read that it's discontinued.
@自在独行-x2n
@自在独行-x2n 9 ай бұрын
Hi,bro. How can I solve"Empty page problem"? I really need your help!
@AmanKumar-xw5bs
@AmanKumar-xw5bs 7 ай бұрын
U got any solution for empty page problem?
@KDcodeyt
@KDcodeyt 4 ай бұрын
please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets. i have also explained how to get tweets for specific date range please subscribe for more videos 🙂
@damilolasunday7119
@damilolasunday7119 9 ай бұрын
In scraping dataset for sentiment analysis for business, do i need be specific on the username to scrap? Thanks for this video
@KDcodeyt
@KDcodeyt 9 ай бұрын
Hi, For sentiment analysis we are not restricted to specific username, we can randomly scrape the tweets as per term Subscribe for more videos🙂
@damilolasunday7119
@damilolasunday7119 9 ай бұрын
Please I would love your guidelines or is the any video on it so I can watch
@KDcodeyt
@KDcodeyt 9 ай бұрын
@@damilolasunday7119 will do sentiment analysis with Twitter data project soon☺
@damilolasunday7119
@damilolasunday7119 9 ай бұрын
Alright, I will appreciate that BCOS I'm working on a project related to it . Thanks
@harish77720
@harish77720 9 ай бұрын
@@KDcodeyt If you find it interesting, maybe a sentiment analysis on the US rental markets? I'm currently in the middle of this project too!
@ksrao1us
@ksrao1us 6 ай бұрын
awesome tutorial. Thanks for the explanation and sharing the code and notebook.with your explanation and including troubleshooting issues with tqdm ,I could finish the whole tutorial in less than 30 minutes !! Please keep up the good work.
@JuanSosa-gd8uy
@JuanSosa-gd8uy 9 ай бұрын
hello when I run the Code does not return any data, why is that? {'threads': [], 'tweets': []}
@KDcodeyt
@KDcodeyt 9 ай бұрын
you can try running again because some times the instances might not be available please subscribe for more videos
@ks-xh4fq
@ks-xh4fq 2 ай бұрын
when using mode as term I ain't getting tweets. working only on user mode
@ab8950
@ab8950 9 ай бұрын
wait, i thought they already banned scraping method? cuz the tools i usually use to scrap called twint still unusable
@GibaPSP
@GibaPSP 6 ай бұрын
and he uses Elon tweets in the demonstration. What a flex haha
@GloryBenedict-qs5sf
@GloryBenedict-qs5sf 2 ай бұрын
Please what’s the limit on the tweet you can get
@hanshernandez5513
@hanshernandez5513 10 ай бұрын
Is it possible to scrape based on geolocation?
@KDcodeyt
@KDcodeyt 10 ай бұрын
Hi , Using ntscraper, we can't do that, but we are in progress of making one more video and we also cover this part, please subscribe and stay tuned, we will release the video soon
@KDcodeyt
@KDcodeyt 9 ай бұрын
Hey, Explained about Geolocation and retrieving comments in this video : kzbin.info/www/bejne/d4HEn42erMl4pMk please check it out
@erniwidyawati6254
@erniwidyawati6254 10 ай бұрын
is it possible to scrape for some keywords?
@KDcodeyt
@KDcodeyt 10 ай бұрын
Yes, it is possible you can use scraper.get_tweets("any keyword") to scrape the tweets, please subscribe for more videos
@vittorialuna-h7h
@vittorialuna-h7h 7 ай бұрын
Is it possible to scrape hashtags?
@AmanKumar-xw5bs
@AmanKumar-xw5bs 7 ай бұрын
Got any idea?
@laidkahloul322
@laidkahloul322 4 ай бұрын
Amazing video. I was looking for this. Thanks a lot.
@JHAANESHV
@JHAANESHV 9 ай бұрын
Hi, I tried this code, I am constantly receiving an output as "empty page". How do I rectify this? Same case for profile scrapping and tweet scrapping
@自在独行-x2n
@自在独行-x2n 9 ай бұрын
Only the user mode works..
@KDcodeyt
@KDcodeyt 9 ай бұрын
Do watch this video for alternate method : kzbin.info/www/bejne/d4HEn42erMl4pMk
@LondonD
@LondonD 10 ай бұрын
Greetings, excellent video. Is it possible to obtain comments on publications?
@KDcodeyt
@KDcodeyt 10 ай бұрын
This package is still in developing the feature to retrive comments for the tweets, Subscribe for more videos and feel free to explore other videos in channel
@KDcodeyt
@KDcodeyt 9 ай бұрын
Hey, Explained about retrieving comments in this video : kzbin.info/www/bejne/d4HEn42erMl4pMk please check it out
@Mr-Arslan
@Mr-Arslan 6 ай бұрын
the api is great but when I'm changing mode to hashtags or terms It doesn't give me result.
@ParthviGohil-be9fb
@ParthviGohil-be9fb 9 ай бұрын
hi, there is a fetching error: instance has been rate limited. what can be done?
@KDcodeyt
@KDcodeyt 9 ай бұрын
Hi, Those instances might be busy sometimes please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets. Please subscribe if it's helpful :)
@ParthviGohil-be9fb
@ParthviGohil-be9fb 9 ай бұрын
@@KDcodeyt hi, thanks so much for your response! actually i want to extract tweets on my web app to perform sentiment analysis. i don't think apify can work for this?
@KDcodeyt
@KDcodeyt 9 ай бұрын
You can integrate your web app with the apify actors
@ParthviGohil-be9fb
@ParthviGohil-be9fb 9 ай бұрын
I see. I am looking into it right now - can you please make a small video regarding it if possible? How to integrate apify on python code to extract like 10 tweets for example
@KDcodeyt
@KDcodeyt 8 ай бұрын
Hi our team noted it on Queue, will make it happen soon.
@amalmk1995
@amalmk1995 4 ай бұрын
But how about data info for the tweets?
@okanaltunbascom
@okanaltunbascom 7 ай бұрын
This library does not take mentions as data. How do we get them?
@KDcodeyt
@KDcodeyt 7 ай бұрын
Hi, please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets.
@inno4reel
@inno4reel 5 ай бұрын
Wow😮😮. Brilliantly done👍
@KDcodeyt
@KDcodeyt 5 ай бұрын
Thanks a lot 😊
@idk-si4fl
@idk-si4fl 9 ай бұрын
Hi, do you know if I can get trending tweets using this library? Thank you for the tutorial
@KDcodeyt
@KDcodeyt 9 ай бұрын
Hi, using hashtag mode and search term as trending, you can get #trending tweets. Also get more insight on twitter data scraping in this video : kzbin.info/www/bejne/d4HEn42erMl4pMk please subscribe if it's helpful :)
@idk-si4fl
@idk-si4fl 9 ай бұрын
Thank you so much
@bourkebnajiba7890
@bourkebnajiba7890 7 ай бұрын
@KDcodeyt please i want to scrape images from twitter, can you help me get the necessary code?
@aimeenatya
@aimeenatya 9 ай бұрын
why mine show name “Nitter” is not defined when it runs??
@KDcodeyt
@KDcodeyt 9 ай бұрын
Hi, Give it a try to install and run it again, please do watch this video for alternative method - kzbin.info/www/bejne/d4HEn42erMl4pMk
@stanleychukwuemeka8841
@stanleychukwuemeka8841 5 ай бұрын
Is scraping millions of tweets still possible because i would like to build an AI model using the text data. Please if it's possible how can I go about it?
@KDcodeyt
@KDcodeyt 4 ай бұрын
please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets. i have also explained how to get tweets for specific date range please subscribe for more videos 🙂
@burakoglakc1286
@burakoglakc1286 8 ай бұрын
Thanks for this explanatory and instructive video. I remember that Nitter has recently over, can you still import data from Nitter?
@KDcodeyt
@KDcodeyt 8 ай бұрын
Hi, please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets. please subscribe for more videos 🙂
@ParisaEmk
@ParisaEmk 7 ай бұрын
Can i retriet data of past January 2024 based on this code?
@KDcodeyt
@KDcodeyt 7 ай бұрын
Hi, please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets. please subscribe for more videos 🙂
@muhammadulinnuha4628
@muhammadulinnuha4628 7 ай бұрын
What about using keywords? Without using a Twitter user ID?
@KDcodeyt
@KDcodeyt 7 ай бұрын
Hi, please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets
@shrehansrai5673
@shrehansrai5673 10 ай бұрын
We can do it with browser based tools. But it can be helpful if it can do the the billow requirment In twitter profile we have to section post and replies and i believe it is giving post not replies please confirm
@KDcodeyt
@KDcodeyt 10 ай бұрын
Yes, using this ntscraper we can retrieve all the post, but getting comments is still under development, please subscribe if it's helpful
@sharayu3913
@sharayu3913 8 ай бұрын
Hi Can you please explain how can we apply start date and end date method?
@KDcodeyt
@KDcodeyt 8 ай бұрын
Hi, you can follow this video : kzbin.info/www/bejne/d4HEn42erMl4pMk, this will be helpful.
@parisaemkani5730
@parisaemkani5730 7 ай бұрын
can I retrieve data from Twitter by basic developer account? I need data from 01/01/2024 until 31/01/2024. I would be grateful if someone could help me with this issue. I am very new to twitter developer and do not know how to scrape data from twitter for 30 days in January.
@KDcodeyt
@KDcodeyt 7 ай бұрын
Hi, we cannot scrape data from twitter using basic developer account, it can only be used to post data as per documentation, So, please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets. i have also explained how to get tweets for specific date range please subscribe for more videos 🙂
@RadicalRed0
@RadicalRed0 4 ай бұрын
Very Nice Video
@droptimistic7419
@droptimistic7419 6 ай бұрын
Hi can I collect the tweets using free account of API?
@KDcodeyt
@KDcodeyt 4 ай бұрын
please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets. i have also explained how to get tweets for specific date range please subscribe for more videos 🙂
@wiliz3d945
@wiliz3d945 10 ай бұрын
Make more videos on this please 🙏 I need it
@KDcodeyt
@KDcodeyt 10 ай бұрын
Yeah, we planned it already, will be releasing the video soon, please subscribe, it will keep us motivated
@KDcodeyt
@KDcodeyt 9 ай бұрын
Hi, One more video about Twitter Scraping is out now : kzbin.info/www/bejne/d4HEn42erMl4pMk please check it once
@girmayohannis4659
@girmayohannis4659 8 ай бұрын
Nice explanation, Thanks! But how to scrap data in particular topic like 'sarcasm' from all tweets to do research?
@KDcodeyt
@KDcodeyt 8 ай бұрын
Hi, you can follow this video : kzbin.info/www/bejne/d4HEn42erMl4pMk, this will be helpful.
@okanaltunbascom
@okanaltunbascom 8 ай бұрын
Hi! Can i get follower list or following list ?
@KDcodeyt
@KDcodeyt 7 ай бұрын
Hi, please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets. please subscribe for more videos 🙂
@yiqingchen6160
@yiqingchen6160 8 ай бұрын
Sorry I am new to Python. Could you teach me how to scrape the comments/replies on Twitter? Thank you so much!
@KDcodeyt
@KDcodeyt 8 ай бұрын
Hi, please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets.
@harshwardhankadam5598
@harshwardhankadam5598 3 ай бұрын
Plz send me the documentation link...
@vrushaliphadtare184
@vrushaliphadtare184 8 ай бұрын
Great Video ...please share video about get data from twitter with specific keywords by search
@KDcodeyt
@KDcodeyt 8 ай бұрын
Hi, please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets
@kragondraken5352
@kragondraken5352 9 ай бұрын
thanks bro nice tutorial
@KDcodeyt
@KDcodeyt 9 ай бұрын
Subscribe if it's helpful
@snehaprasad1755
@snehaprasad1755 9 ай бұрын
why I'm getting {'threads': [], 'tweets': []} this ???
@MaytheLordbewithyou2
@MaytheLordbewithyou2 7 ай бұрын
I'm having the same issue
@KDcodeyt
@KDcodeyt 4 ай бұрын
please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets. i have also explained how to get tweets for specific date range please subscribe for more videos 🙂
@prithvipk6328
@prithvipk6328 10 ай бұрын
But ntscrapper was returning empty array many times how to fix??
@KDcodeyt
@KDcodeyt 10 ай бұрын
It might be due to heavy traffic, and instances may not be available, so try to run it again, they will get the data for sure, 🙂subscribe us for more videos
@akindefisayo3267
@akindefisayo3267 9 ай бұрын
Hello bro. This is awesome. very helpful in my research. please, how do i access geotagged tweets, i mean tweets from certain regions within a country, maybe a state or county in USA for example, can you please make a tutorial on how to achieve this???? Thank you for the great content.
@KDcodeyt
@KDcodeyt 9 ай бұрын
Hi, please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets based on Geolocation too.
@Marie-PearlAkoto
@Marie-PearlAkoto 5 ай бұрын
thank you so much for this!
@chimmuanyaijezie4049
@chimmuanyaijezie4049 8 ай бұрын
Hello, how can i get the code
@KDcodeyt
@KDcodeyt 8 ай бұрын
Hi, Here is the github link : github.com/KDcodeyt/Twitter_scraping please subscribe for more videos :)
@DuneeshaSuloshini
@DuneeshaSuloshini 2 ай бұрын
not working for me
@KDcodeyt
@KDcodeyt 2 ай бұрын
Hi, please watch this video : kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method here.
@RadicalRed0
@RadicalRed0 4 ай бұрын
After using it a few times I am getting this error, WARNING:root:Fetching error: Instance has been rate limited.Use another instance or try again later.
@KDcodeyt
@KDcodeyt 4 ай бұрын
please do watch this video - kzbin.info/www/bejne/d4HEn42erMl4pMk I have explained an alternative method to scrape tweets. i have also explained how to get tweets for specific date range please subscribe for more videos 🙂
@hejrey6228
@hejrey6228 8 ай бұрын
If anyone gets it to work, please create a requirements file with the packages needed
@codingboy8665
@codingboy8665 2 ай бұрын
thank you bro
@busracelik1165
@busracelik1165 9 ай бұрын
As far as i know extracting data from the twitter has not been permitted so far
@fkaraal
@fkaraal 9 ай бұрын
It returns empty
@KDcodeyt
@KDcodeyt 9 ай бұрын
you can try using "random_instance = scraper.get_random_instance()" to get the random instance of nitter because some times the instance might not be working, if it is still not working you can also try creating a object like this "scraper = Nitter(log_level=1, skip_instance_check=False)" please Subscribe if it's helpful
@zenzatoichi1
@zenzatoichi1 7 ай бұрын
bro didnt drop the code
@KDcodeyt
@KDcodeyt 7 ай бұрын
Hi, please check the description stay tuned for more videos :)
@kiralim2836
@kiralim2836 9 ай бұрын
i tot nitter is dead
@souvikkarmakar9646
@souvikkarmakar9646 Ай бұрын
thank you broo...
How I get Tweet data for FREE in 2024 as a data scientist
19:28
AI Spectrum
Рет қаралды 21 М.
I scraped Andrew Tate Twitter Profile using Python
13:06
TopNotch Programmer
Рет қаралды 2,9 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 71 М.
The Biggest Issues I've Faced Web Scraping (and how to fix them)
15:03
UV for Python… (Almost) All Batteries Included
17:35
ArjanCodes
Рет қаралды 81 М.
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 153 М.
This Open Source Scraper CHANGES the Game!!!
20:36
Reda Marzouk
Рет қаралды 123 М.
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 697 М.
Web Scraping AI AGENT, that absolutely works 😍
11:22
1littlecoder
Рет қаралды 21 М.
How to get TWEETS by Python | Twitter API 2022
17:04
AI Spectrum
Рет қаралды 147 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН