So recently I came about an article about web scraping, and it said how most of the time scraping is illegal. I did not know this in past, and did not know the website I was working on was using a script to gather information from another website. Of course I don't work for this business anymore but I did let my boss know. My concern is, what if my company gets caught, am I liable? I am scared since I did use the file that had the actual code-block that did the web scraping. I did not write this code, but I did use the results that it extracted. However, at the time I did not know this was bad, or knew even what the process was of getting the information that I was using. Should I be concerned?
Firstly, the information provided in my answers is for general information purposes only and is not intended to be legal advice for individual situations and should not be relied on in taking legal action of any kind. Merely reading my answers does not create an attorney-client relationship. If you believe you may have a claim or defense based on something you read in my answers, you should seek independent legal advice from the lawyer of your choice.
The case of copyright infringement can be serious. An infringer is ALWAYS liable to the copyright owner for the infringement (it is a personal tort action). There is a separate question of whether the infringer's employer will step in and defend and indemnify the employee for the employee's infringement.
So, the employee could be civilly liable, but she or he could face criminal liability as well for knowingly infringing a copyright. The supervisor telling the employee to do it could create criminal and civil liability for the employer in addition to, not in place of, the liability of the employee.
All of this does not answer whether any copyright holder is likely to pursue their rights.
I would have to disagree with the other answer. It has got to do with a lot more than that. Did your employer at the time know his website was scraping? If so, you are in no trouble at all. Writing code that scrapes a website is not illegal, executing them is. If your employer knew this is how his website was programmed, and he agreed with it, he/the company is responsible upon hosting the script and executing the script. Because it's (most likely) prohibited in the TOS of the scraped site. However I do think that if your employer did not know the website was functioning because of the scraping script, the story might be slightly different. But even then, you did not write that code, had no knowledge that the code existed and it was not your responsibility.