Advertisement
dereksir

Untitled

Mar 23rd, 2024
579
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.59 KB | None | 0 0
  1. using RestSharp;
  2. namespace TestApplication {
  3.     class Test {
  4.         static void Main(string[] args) {
  5.             var client = new RestClient("https://api.zenrows.com/v1/?apikey=<YOUR_ZENROWS_API_KEY>&url=https%3A%2F%2Fscrapeme.live%2Fshop%2FPikachu%2F&js_render=true&css_extractor=%257B%2522product-price%2522%253A%2522%2523product-752%2520%253E%2520div.summary.entry-summary%2520%253E%2520p.price%2520%253E%2520span%2522%257D");
  6.             var request = new RestRequest();
  7.  
  8.             var response = client.Get(request);
  9.             Console.WriteLine(response.Content);
  10.         }
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement