Closed lisxck closed 9 months ago
import { gotScraping } from 'got-scraping'; const instance = gotScraping.extend(); const response = await instance.get('https://api.apify.com/v2/browser-info', { responseType: 'json', proxyUrl: 'proxy' }); console.log(response.body);
I had no doubt that I could write something like this, but when I actually run this code in TypeScript, it prints an error due to type information.
I ran the same code in Javascript, but the only thing that is wrong is the type information because Proxy worked properly
I had no doubt that I could write something like this, but when I actually run this code in TypeScript, it prints an error due to type information.
I ran the same code in Javascript, but the only thing that is wrong is the type information because Proxy worked properly