I can see three ways to make money with web scraping, and they are not mutually exclusive.
The first and most obvious is by doing some gigs as a freelancer. You could see it like your 9-5 job.
Then you can sell your code on places
like Apify Store, where you can basically sell your code (they call it Actor) and people could run it on the Apify platform and get the results.
Last but not least, you can sell the dataset resulting from your scraper on
Databoutique.com. This is a new marketplace for web scraped data, we just opened some months ago and we’re working on bringing more traffic on the platform while shipping new features every week, so unluckily for the moment, you won’t get rich overnight.