The demand for big data is significantly raised these years. According to Statista, big data market size revenue is constantly growing every year. This is why the web scraping industry is also gaining more popularity, as it is one of the most common data collection methods. The legality of web scraping is a much-debated topic among developers and others who work in the data gathering field. If you wish to further learn about scraping, see our step-by-step guide on how to web scrape in Python and try our general-purpose web scraper for free.
In this article, we will cover the important questions about web scraping legality and what web scraping legal issues can one encounter when scraping certain websites.
Before delving into this complex topic, we want to note that this article is for informational purposes only and that any information contained herein does not constitute legal advice. Accordingly, before engaging in any scraping activities, you should get appropriate professional legal advice regarding your specific situation.
So is web scraping activity legal or not? It is not illegal as such. In the end, you can crawl and scrape your own website without much effort. Businesses use bots for their benefit but at the same time don’t want others to exploit web scrapers against them. If you wonder if you can get in trouble for web scraping, you should be aware of what cases of web scraping are illegal. Here are some specific web scraping examples that are illegal:
1. Your web scraper should not log-in to websites and then download data. By logging-in on any websites, users have to agree to the Terms of Service (ToS) (By the way it is also possible to accept ToS just by browsing the website), which may forbid activity like automated data collection.
2. There is a misconception that you can do whatever you want with publicly accessible data. There may be less restrictions for scraping publicly available information as opposed to private information, but you still have to make sure that you are not breaching laws that may be applicable to such data, for example – downloading copyrighted data. Usually, it includes designs, layouts, articles, videos and everything that can be considered as creative work.
3. Even if data is needed for personal usage, Terms of Service may forbid any kind of automatic data collection. In this case, not data usage but scraping activity itself may be illegal.
Web scraping may be legal where you are scraping without breaking any rules or applicable laws surrounding the targeted websites or gathered data. However, malicious actors or hackers intentionally abuse web scraping. Here are some thoughts on why sometimes web scraping is considered a suspicious activity:
1. When you are thinking about web scraping advantages and the importance of data for your business improvement, the public data gathering process does not sound offensive or unethical. On the other hand, if you find out that someone is scraping your website for these same reasons, you may have different thoughts.
2. There are situations when individuals or companies are abusing web scraping and violating ToS (Terms of Services), copyright norms or other applicable laws. In this case, web scraping looks like a malicious and unethical activity. This is the reason why it could be hard to explain and prove that the main idea of web scraping for businesses is to make data-driven decisions from publicly available information.
3. When web scraping is in process, a scraper will send many requests to the websites to get the required information. As it is done automatically, a web scraper could potentially make more requests than a regular user does. If this process is done without regard for the website, it will cause a heavy load. This is one of the main reasons websites have security measures.
As mentioned before, we advise you to seek legal consultation before engaging in scraping activities of any kind. With that being said, here are some base practical tips that may help ensure compliance when web scraping:
1. Sometimes, websites provide their API for data collection. If it is possible, use it instead of scraping data. Of course, using a provided API is not the same as web scraping. You can learn more about the differences between web scraping vs. scraping API in our other blog posts.
2. It is essential to respect the Terms of Service (ToS) for each website.
3. Respect the rules of robots.txt. If you really need the data from a specific website, but ToS or robots.txt forbids any automatic data collection, you can try to ask permission to the site owner.
4. Do not use scraped data without making sure that this information is not copyrighted. If it is necessary to publish this data, you should ask written permission from the copyright holder.
If you want to learn more about the best web scraping practices, we have covered this topic in detail from the ethical and technical side.
Last year we had a two-day event OxyCon, where our legal counsels Denas and Nerijus went over some of the web scraping legal issues. We made a summary of their presentation, where we will be focusing on the landmark scraping cases that set the tone for future scraping legal claims such as copyright infringement or Computer Fraud and Abuse Act (CFAA).
Denas Grybauskas & Nerijus Sveistys, Oxylabs Legal Counsels
We concentrated over real scraping cases that set precedent for future scraping legal claims. This may help you to answer the question: “Is web scraping legal in the US?”. However, do not forget that these cases are only examples to understand the situation with web scraping’s legality. You should get appropriate professional advice regarding your specific situation.
Ryanair’s argument with a flight price comparison company PR Aviation provided a glimpse of how scraping could be interpreted in European courts. Ryanair’s website subjects its visitors to ToU, which explicitly prohibits scraping. PR Aviation was scraping Ryanair, who took them to court in the Netherlands for breach of contract.
Ryanair came out second best from the dispute, as the Dutch court said that there was no valid contract formed between the companies. It made an interesting allegory, stating that anyone putting up a poster in a shop window visible from the public road, which reads: “Whoever reads further, must pay € 5,” cannot accept that the person reading this wants to commit to such a condition.
Still, this does not mean that ToU would not be applicable in a different scenario, as there were a lot of circumstances unfavorable to Ryanair here. Namely, the facts that at the time of the scraping, Ryanair was presenting its ToU in a browsewrap, which is not generally accepted as legally binding by courts, as well as the fact that the scraped data was free and accessible to everyone.
Expedia, a U.S. flight comparison company, was scraping Ryanair’s data and continued doing so after receiving a C&D letter. Consequently, it was sued by Ryanair for breaching the CFAA. Expedia argued that Ryanair is an Irish company, therefore the CFAA, a U.S. statute should not be applicable.
The courts established that the CFAA might indeed apply to U.S. companies acting internationally. After this, Ryanair and Expedia settled the case, with the details being confidential. With that being said, as of this day, there are no Ryanair flights being offered via Expedia’s website.
HiQ labs is a company that scrapes data from public LinkedIn profiles to provide tools and insights on employees to businesses. After allowing HiQ scrape for several years, in 2017, LinkedIn issued a C&D letter to HiQ and themselves launched a tool similar to HiQ’s functionality. HiQ sought an injunction in court, which was granted, leading to LinkedIn being asked to withdraw the C&D letter and stop applying any blocking measures against HiQ.
LinkedIn appealed the decision, arguing that HiQ’s scraping was breaching the CFAA. The court decided that HiQ was not acting in breach of the CFAA, as the data scraped from LinkedIn was public (profiles containing user-generated content; not put behind a password wall). The court said that companies should not be able to revoke authorization where one is not needed in the first place, as well as that allowing companies like LinkedIn to decide who can collect and use public data would be contrary to the public interest.
The decision was favorable to scraping companies and reconsidered some of the much-criticized previous court practice regarding the applicability of the CFAA, narrowing the relevance of this act with regards to public data (e.g., Facebook v. Power Ventures, Craigslist v. 3Taps). With that being said, if not done with caution, scraping activities might still be subject to potential breaches of the CFAA (e.g., under different case’s circumstances) as well as other grounds such as, among others, trespass to chattels, copyright or breach of contract.
If you are interested in legal aspects of web scraping, watch a recording of your webinar Web Scraping from a Legal Perspective. During the webinar , an expert panel discusses web scraping laws, cease and desist letters, and ongoing court cases that are relevant to the web scraping community.
There is no simple answer to this question “Is web scraping legal?” as one must answer whether the scraping done does not breach any laws surrounding the said data.
So please, take this article as informational and educational only. It does not replace independent professional advice and judgement. Statements of fact and opinions expressed are those of the presenters only, and unless expressly stated to the contrary, are not the opinion or position of Oxylabs.
About the author
Lead Product Marketing Manager
Gabija Fatenaite is a Lead Product Marketing Manager at Oxylabs. Having grown up on video games and the internet, she grew to find the tech side of things more and more interesting over the years. So if you ever find yourself wanting to learn more about proxies (or video games), feel free to contact her - she’ll be more than happy to answer you.
All information on Oxylabs Blog is provided on an "as is" basis and for informational purposes only. We make no representation and disclaim all liability with respect to your use of any information contained on Oxylabs Blog or any third-party websites that may be linked therein. Before engaging in scraping activities of any kind you should consult your legal advisors and carefully read the particular website's terms of service or receive a scraping license.
As public web data collection and analysis grow more integral to many companies across various industries, automated data gathering tools prove themselves as indispensable assistants in this challenging task. Check out this white paper to learn more!
The role of alternative data becomes more and more prominent. However, its collection is tied to multiple technological challenges that can disturb your business's operations. This white paper provides a detailed explanation of these challenges and proposes solutions to deal with them.
If you’ve ever tried web scraping, you should be aware of the blocking issue. It’s a common challenge, especially if you gather public data on a large scale without a decent knowledge of using resources wisely. This is why we decided to cover this topic and share our knowledge and tips & tricks on how to avoid getting blocked.
Get the latest news from data gathering world
Scale up your business with Oxylabs®
GET IN TOUCH
Certified data centers and upstream providers
Connect with us