Lemon8 Feeds Scraper avatar
Lemon8 Feeds Scraper

Pricing

$9.99/month + usage

Go to Apify Store
Lemon8 Feeds Scraper

Lemon8 Feeds Scraper

This actor extracts posts, images, videos, comments, and analytics from Lemon8 feeds across 22 categories and 10+ regions. Supports infinite scrolling, full media downloads, post-level analytics, and detailed comment extraction—perfect for research, analysis, or content monitoring.

Pricing

$9.99/month + usage

Rating

0.0

(0)

Developer

AbotAPI

AbotAPI

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

1

Monthly active users

13 hours ago

Last modified

Share

Lemon8 Feeds Scraper (Python/Scrapling)

A Python implementation of the Lemon8 feeds scraper using Scrapling for advanced anti-bot bypass capabilities.

Features

  • 22 Feed Categories - Scrape from For You, Beauty, Food, Fashion, and more
  • 10+ Regions - Support for US, Australia, Japan, and more
  • Full Post Data - Titles, content, statistics, hashtags
  • Comment Extraction - All comments including replies
  • Media Downloads - Save images and videos to Key-Value Store
  • Anti-Bot Bypass - Uses Scrapling's StealthyFetcher with Camoufox
  • Apify Compatible - Same input/output schema as Node.js version

Installation

# Install dependencies
pip install -r requirements.txt
# Install Scrapling browser dependencies
scrapling install

Usage

Run Locally

# Quick test
python local_test.py
# Run as Apify actor (requires input.json)
python main.py

Run with Docker

$docker-compose up --build

Deploy to Apify

$apify push

Input Configuration

ParameterTypeDefaultDescription
categoryintrequiredFeed category (0-21)
regionstring"us"Region code
limitint100Max posts to extract
getDetailsbooltrueExtract full post details
detailsLimitint10Max posts for detail extraction
saveImagesboolfalseDownload images to KVS
saveVideosboolfalseDownload videos to KVS
proxyobjectnullProxy configuration

Example Input

{
"category": 2,
"region": "us",
"limit": 50,
"getDetails": true,
"detailsLimit": 10,
"saveImages": false,
"saveVideos": false
}

Categories

IDNameIDName
0For You11Travel
1Beauty12Money
2Food13Career
3Fashion14Art
4Home15Pets
5Wellness16Photography
6Fitness17Gaming
7Entertainment18Reading
8Relationship19Cars
9Tech20Outdoors
10Parenting21Education

Regions

us, au, nz, jp, th, id, vn, my, sg, ca

Output Format

Same structure as the Node.js version for compatibility:

{
"posts": [
{
"id": "7412987407534162437",
"author": {
"name": "Author Name",
"profileUrl": "https://...",
"profileImageUrl": "https://..."
},
"title": "Post Title",
"content": "Content preview...",
"postUrl": "https://...",
"statistics": {
"savedCount": "0",
"likesCount": "6437",
"commentsCount": "0"
},
"images": [...],
"isVideo": false,
"category": "Food",
"categoryId": 2,
"details": {...},
"allComments": [...],
"commentStats": {...}
}
],
"metadata": {
"feedsUrl": "https://...",
"category": "Food",
"categoryId": 2,
"region": "us",
"totalScraped": 50,
"scrollsPerformed": 15,
"videoPostsFound": 5,
"detailedPostsScraped": 10
}
}

Project Structure

lemon8_feed_python/
├── .actor/
│ ├── actor.json # Apify actor configuration
│ └── input.json # Default input
├── src/
│ ├── __init__.py
│ ├── categories.py # Category/region definitions
│ ├── selectors.py # CSS selectors
│ ├── scraper.py # Core scraping logic
│ └── media.py # Media download utilities
├── main.py # Apify entry point
├── local_test.py # Local testing script
├── requirements.txt
├── Dockerfile
└── docker-compose.yml

Dependencies

  • scrapling - Anti-bot web scraping library
  • playwright - Browser automation
  • apify - Apify SDK for Python
  • aiohttp - Async HTTP client

License

MIT