Skip to content

Commit 67bdd51

Browse files
mstephen19mnmkng
andauthored
Update content/academy/anti_scraping/mitigation/using_proxies.md
Co-authored-by: Ondra Urban <[email protected]>
1 parent 6db5346 commit 67bdd51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/academy/anti_scraping/mitigation/using_proxies.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ const crawler = new CheerioCrawler({
2424
requestHandler: async ({ $, request, enqueueLinks }) => {
2525
if (request.label === 'START') {
2626
await enqueueLinks({
27-
selector: 'a[href*="/product/"]',
28-
baseUrl: new URL(request.url).origin,
27+
selector: 'a[href*="/product/"]'
2928
});
3029

3130
// When on the START page, we don't want to

0 commit comments

Comments
 (0)