How to Scrape Reviews for Sentiment with Copilot

Extract review data in your IDE with Copilot and ToolRouter. Build sentiment analysis pipelines from real data.

Tool
Web Scraper icon
Web Scraper

Copilot scrapes review data in your IDE, which is ideal for developers building sentiment analysis features, review aggregation tools, or customer feedback dashboards. Extract real review data alongside the code that processes it, enabling faster iteration on NLP and classification logic.

Connect ToolRouter to Copilot

1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the Web Scraper tool:

  1. Ask Copilot: "Scrape reviews from example-store.com/product/123/reviews"
  2. Review the extracted data in your editor
  3. Ask: "Generate a Python script that performs sentiment analysis on this review data"
  4. Use the generated code and data in your analytics pipeline

Example Prompt

Try this with Copilot using the Web Scraper tool
Extract reviews from example-store.com/product/123/reviews and generate a Python sentiment analysis script for the extracted data.

Tips

  • Perfect for building review analytics tools with real data samples
  • Copilot can generate NLP pipeline code tailored to the extracted data format
  • Use extracted reviews as test fixtures for sentiment analysis features