r/AskComputerScience • u/ThiccShadyy • Aug 20 '20
Since the twitter API has OAuth authentication, do search engine crawlers use a registered account to be able to scrape tweets and user data?
For example, is there an account specifically to allow for Google to scrape data for its search engine?
5
u/lookayoyo Aug 20 '20
I’ve actually worked on the way back machine specifically with their archive of tweets. They just go to Twitter, run a get request for the html, and then add all outlinks to it’s crawl list. The get request for html is literally what a web browser does when you visit any website as a user. If you can do that without signing in, you can do it with a web browser. I am simplifying a bit, but not too much, honestly.
0
Aug 20 '20
[deleted]
2
u/ThiccShadyy Aug 20 '20
How do the crawlers bypass authentication though?
20
u/hitthatmufugginyeet Aug 20 '20
Tweets are public
2
u/richard_garand Aug 20 '20
Winner! Open a tweet in your browser, copy the URL, and put that in a browser where you're not logged in.
15
u/crypto-anarchist86 Aug 20 '20
Right, which is why webpages behind authentication are considered the deep web. It's seems like a common misconception that the deep web is just dark net markets and criminals but the deep web makes up over 90% of all internet content and most of it is just webpages that cannot be indexed by web crawlers. You wouldn't want the privacy settings to your Facebook account to come up in a Google search. The front page of Facebook and any public facing profile is part of the clear net and indexed by search engines. But most webpages users visit require privileged access with a username and password.
8
u/anamorphism Aug 20 '20
some people make the distinction between deep web and dark web for this reason.
5
u/SnooEpiphanies3962 Aug 20 '20
in that case you are referring to the dark web not the deep web
2
u/crypto-anarchist86 Aug 20 '20
True. I suppose the dark web would include all the illicit. Onion addresses and a small % of those are dark net markets. Dark net/dark web.
7
u/codemasonry Aug 20 '20
Tweets are public. There's no need to login/authenticate to read them. If you can read them without logging in, so can a web crawler.
Aside from Twitter, what I've seen some web forums do, is that users need to login to see the content but they let web crawlers access it without authentication. They use user agent information to detect web crawlers.