You should seek clarification of the deliverables before billing
You should examine the contract to determine if you were tasked to develop a scraper or to just scrape the 2 websites.
If the contract was to develop a scraper as a deliverable, then, according to what you have said, you haven't fulfilled that requirement. In other words, it may be that the client wanted the scraper for future projects and the current 'scrape these two websites' were just the initial project. In that case, the answer would be a flat "No" because you haven't done the work they wanted to pay for.
If you did develop a scraper, but you have a huge dependency on a third-party site that you have no control over, what happens in a month or a year when that tool goes away? In that case, you should confirm with the client / contract as well as the terms of service for the tool you are leveraging (ie - can it be used for commercial purposes without a license?)
If the work requested was simply to scrape the two websites, and the requirements to do so were overestimated, there are other quality answers to choose from both ethical and business perspectives.
If it were me, I'd be very clear on what both the scope of work and required deliverables are before billing, otherwise you are risking your reputation with the client.