0 Bytes Uploaded — 100% Client-Side In-Browser Processing

🤖 Auto Product Generator

Enter ASIN → Get Product HTML (Automatic!)

⚠️ Important: Due to browser security (CORS), automatic fetching from Amazon doesn't work directly. I've provided 3 methods below - choose the one that works best for you!
Method 1: Browser Extension
Method 2: Bookmarklet
Method 3: Python Script

Method 1: Browser Extension (Easiest)

💡 How it works: Install a browser extension that extracts data from Amazon product pages and sends it to this tool.

Step 1: Install Extension

I'll create a simple Chrome extension for you. For now, use this bookmarklet (works in all browsers):

Drag this to your bookmarks bar:

📦 Extract Amazon Product

Step 2: Use It

  1. Go to any Amazon.in product page
  2. Click the bookmarklet in your bookmarks bar
  3. Product data will be extracted automatically
  4. This page will open with data pre-filled
  5. Review and generate HTML

Method 2: Copy-Paste Bookmarklet

💡 How it works: Click a bookmark on Amazon page, copy the extracted data, paste here.

Step 1: Create Bookmarklet

  1. Create a new bookmark in your browser
  2. Name it: "Extract Amazon Data"
  3. Copy the code below and paste as URL
javascript:(function(){const t=document.querySelector('#productTitle')?.innerText.trim();const p=document.querySelector('.a-price-whole')?.innerText.trim();const f=Array.from(document.querySelectorAll('#feature-bullets li')).map(li=>li.innerText.trim()).filter(f=>f&&f.length>10).slice(0,6);const asin=window.location.pathname.match(/\/dp\/([A-Z0-9]{10})/)?.[1];const data=JSON.stringify({title:t,price:'₹'+p,features:f,asin:asin},null,2);prompt('Copy this data and paste in the generator:',data);})();

Step 2: Use It

  1. Go to Amazon.in product page
  2. Click the bookmarklet
  3. Copy the data from the popup
  4. Paste below and click "Parse Data"

Method 3: Python Script (Most Powerful)

💡 How it works: Run a Python script that fetches data from Amazon and generates HTML files.

Installation:

pip install requests beautifulsoup4

Python Script:

Save this as amazon_fetcher.py:

import requests from bs4 import BeautifulSoup import json import time def fetch_amazon_product(asin): url = f'https://www.amazon.in/dp/{asin}' headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', 'Accept-Language': 'en-US,en;q=0.9', } try: response = requests.get(url, headers=headers) soup = BeautifulSoup(response.content, 'html.parser') # Extract title title_elem = soup.find('span', {'id': 'productTitle'}) title = title_elem.text.strip() if title_elem else 'N/A' # Extract price price_elem = soup.find('span', {'class': 'a-price-whole'}) price = f"₹{price_elem.text.strip()}" if price_elem else 'N/A' # Extract features features = [] feature_div = soup.find('div', {'id': 'feature-bullets'}) if feature_div: items = feature_div.find_all('li') features = [item.text.strip() for item in items if item.text.strip()][:6] # Generate HTML html = generate_product_html(title, price, features, asin) # Save to file filename = f'product_{asin}.html' with open(filename, 'w', encoding='utf-8') as f: f.write(html) print(f'✅ Generated: {filename}') return html except Exception as e: print(f'❌ Error: {e}') return None def generate_product_html(title, price, features, asin): # Split features into pros (first 4) and cons (last 2) pros = features[:4] if len(features) >= 4 else features cons = ['Check reviews for detailed cons', 'Verify compatibility before purchase'] pros_html = '\\n'.join([f'
  • {p}
  • ' for p in pros]) cons_html = '\\n'.join([f'
  • {c}
  • ' for c in cons]) # Generate search term from title search_term = '+'.join(title.lower().split()[:3]) html = f'''
    🛍️

    {title}

    {price}

    {features[0] if features else 'High-quality product from Amazon.'}

    ✅ Pros:

      {pros_html}

    ❌ Cons:

      {cons_html}
    🛒 View on Amazon
    ''' return html # Usage if __name__ == '__main__': asins = [ 'B08XYZ1234', # Replace with real ASINs 'B08ABC5678', ] for asin in asins: fetch_amazon_product(asin) time.sleep(2) # Be respectful, don't hammer the server

    Usage:

    python amazon_fetcher.py

    This will create HTML files for each ASIN. Copy the content and paste into your product pages!

    🎯 Recommended Approach

    🥇 Best: Python Script

    Most powerful. Batch process multiple ASINs. Saves files automatically.

    🥈 Good: Bookmarklet

    Works in browser. One click extraction. Copy-paste data.

    🥉 Future: API

    After 3 sales, get official API. Fully automated.

    100% Free Privacy Tools

    Support Privacy-First Web Utilities

    Factictionary is hosted on GitHub Pages with zero corporate funding. Help us build more privacy-first web utilities by supporting us!

    💳 Support via PayPal 💖 GitHub Sponsors