Lemon8 Media Scraper avatar
Lemon8 Media Scraper

Pricing

$4.99/month + usage

Go to Apify Store
Lemon8 Media Scraper

Lemon8 Media Scraper

Lightweight scraper that extracts image and video URLs from Lemon8 posts, with built-in support for downloading the media. Focused solely on clean media extraction and downloads, no comments, no post details.

Pricing

$4.99/month + usage

Rating

0.0

(0)

Developer

AbotAPI

AbotAPI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Share

Lightweight scraper that extracts image and video URLs from Lemon8 posts. Focused on media extraction only - no comments, no post details, just clean media URLs.

Features

  • Image Extraction - Get all image URLs from posts
  • Video Extraction - Extract video URLs from video posts
  • Search Discovery - Find posts by keyword search
  • Direct URLs - Scrape specific post URLs
  • High Quality - Auto-convert thumbnails to high-quality URLs
  • Media Download - Optional download to Apify key-value store
  • Crash Recovery - Resume from where you left off if interrupted
  • Multiple Regions - Support for 10+ countries
  • Stealth Browser - Uses Camoufox to avoid detection

Output Data

Each post is saved as a separate item in the dataset:

{
"postId": "7543408422994264589",
"postUrl": "https://www.lemon8-app.com/@username/7543408422994264589?region=us",
"images": [
{
"url": "https://p16-lemon8-sign-va.tiktokcdn.com/tos-maliva-v-ac5634-us/...",
"alt": "Post image description",
"type": "image"
}
],
"videos": [],
"imageCount": 5,
"videoCount": 0
}

With Media Download Enabled

When downloadMedia: true, each media item includes a keystoreKey:

{
"postId": "7543408422994264589",
"images": [
{
"url": "https://p16-lemon8-sign-va.tiktokcdn.com/...",
"alt": "Post image",
"type": "image",
"keystoreKey": "7543408422994264589_img_0.webp"
}
],
"videos": [
{
"url": "https://v16-lemon8.tiktokcdn.com/...",
"poster": "https://p16-lemon8-sign-va.tiktokcdn.com/...",
"type": "video",
"keystoreKey": "7543408422994264589_vid_0.mp4"
}
],
"imageCount": 1,
"videoCount": 1
}

Input Options

OptionTypeDefaultDescription
postUrlsArray[]Direct post URLs to scrape (overrides searchTerm)
searchTermString"fashion"Search keyword for discovery page
regionString"us"Region code
limitNumber2Maximum posts to process (1-100)
saveImagesBooleantrueExtract image URLs
saveVideosBooleantrueExtract video URLs
downloadMediaBooleanfalseDownload files to key-value store
highQualityBooleantrueConvert to high-quality URLs
maxScrollsNumber2Max scrolls on discovery (1-30)
scrollDelayNumber1000Delay between scrolls in ms
clearStorageBooleanfalseClear request queue and start fresh
proxyObjectnullApify proxy configuration

Example: Search Discovery

{
"searchTerm": "fashion",
"region": "us",
"limit": 20,
"saveImages": true,
"saveVideos": true,
"downloadMedia": false
}

Example: Direct Post URLs

{
"postUrls": [
"https://www.lemon8-app.com/@username/7543408422994264589",
"https://www.lemon8-app.com/@another/7550145067198005791"
],
"downloadMedia": true
}

Available Regions

CodeRegion
usUnited States
auAustralia
nzNew Zealand
jpJapan
thThailand
idIndonesia
vnVietnam
myMalaysia
sgSingapore
caCanada

Crash Recovery & Rerun

This actor uses Apify's Request Queue for state persistence:

  • Resume after crash: Simply Resurrect the failed run - it will continue from unprocessed posts
  • Start fresh: Set clearStorage: true in input, or start a new run (not resurrect)

How it works:

  1. All post URLs are added to a persistent Request Queue before processing
  2. Each post is marked as "handled" only after successful extraction
  3. Each post is saved to the dataset immediately (incremental saves)
  4. On restart, only unhandled requests are processed

Storage

Key-Value Store

  • INPUT - Run configuration
  • OUTPUT - Complete results with all media
  • METADATA - Run statistics (totalPosts, totalImages, totalVideos, downloadedFiles)
  • {postId}_img_{index}.webp - Downloaded images (if enabled)
  • {postId}_vid_{index}.mp4 - Downloaded videos (if enabled)

Dataset

Each post saved as a separate item for easy export and processing.

Accessing Downloaded Files

https://api.apify.com/v2/key-value-stores/{storeId}/records/{keystoreKey}

Use Cases

  • Content Archiving - Save media from posts before they disappear
  • Dataset Building - Collect images for ML training data
  • Visual Analysis - Analyze trending visual styles and formats
  • Competitor Research - Monitor competitor visual content
  • Content Inspiration - Discover popular image styles