This folder includes scrapers for various Naver services using Python requests and Scrape.do for bypassing Naver's WAF.
Find the full guide and documentation here. 📗
ecommerceProductPage.py: Scrapes product name and price from a Naver product page using regex.ecommerceAPI.py: Fetches full product details from Naver's API and exports them to CSV.
naverSearchAds.py: Scrapes paid search advertisements from Naver search results.naverSearchOrganic.py: Scrapes organic search results from Naver with pagination support using JavaScript data extraction.naverSearchImages.py: Scrapes image search results using Naver's image search API.
- Python 3.7+
requestslibrary
Install with:pip install requests- A Scrape.do API token for accessing Naver bypassing its WAF (free 1000 credits/month)
-
Copy the full product URL from Naver, example:
https://brand.naver.com/steelseries/products/11800715035 -
In the script, replace:
token = "<your_token>" target_url = "<target_product_url>"
-
Run the script:
python ecommerceProductPage.py
The script will return:
Product Name: ...
Price: ...₩-
Get the
channel_uidandproduct_idproduct_idis the numeric ID in the product URL, example:11800715035channel_uidcan be found in the page source (search"channelUid"in DevTools)
-
In the script, replace:
token = "<your_token>" channel_uid = "<product_channel_uid>" product_id = "<product_id>"
-
Run the script:
python ecommerceAPI.py
A file called naver_product_data.csv will be created with:
- Product Name
- Price
- Discount
- Image URL
- Stock Quantity
-
In the script, replace:
token = "<your_token>" query = "<search_query>"
-
Run the script:
python naverSearchAds.py
A file called naver_ads_results.csv will be created with:
- Ad Title
- Ad URL
- Ad Description
-
In the script, replace:
token = "<your_token>" query = "<search_query>"
-
Run the script:
python naverSearchOrganic.py
A file called naver_organic_results.csv will be created with:
- Title
- URL
- Description
The script automatically scrapes multiple pages and includes retry logic for better results. Uses JavaScript data extraction to handle Naver's modern search result structure.
-
In the script, replace:
token = "<your_token>" query = "<search_query>"
-
Run the script:
python naverSearchImages.py
A file called naver_images_results.csv will be created with:
- Title
- Link
- Original URL
The script uses Naver's image search API for reliable results and handles JSONP responses automatically.
403 or 429: Add &geoCode=kr to the end of the Scrape.do URL to use a Korean IP
Empty or missing fields: Double-check your channel_uid and product_id; make sure the product is public and available
Regex failure in ecommerceProductPage.py: Confirm the page is returning complete HTML and you're not being blocked
404 from ecommerceAPI.py: API endpoint might've been changed, view the full tutorial to confirm the correct API structure.
JSON parsing errors in naverSearchImages.py: The API response format may have changed; check the response structure.