Substack Scraper avatar
Substack Scraper
Try for free

1 day trial then $20.00/month - No credit card required now

View all Actors
Substack Scraper

Substack Scraper

qpayre/substack-scraper
Try for free

1 day trial then $20.00/month - No credit card required now

The Substack Author Scraper is a powerful Apify actor that makes it easy for content creators to scrape and retrieve all posts from their favorite Substack authors. With structured data presented in a user-friendly format, analyzing and processing valuable information has never been easier.

Substack Author Scraper

image

Substack Author Scraper is an Apify actor designed to scrape all posts from a specified Substack author and retrieve the content of each article. The actor returns the data in a structured format, as a list of dictionaries, making it easy to analyze and process the information further.

Features

  • πŸ” Scrape all posts from a specified Substack author.
  • πŸ“ Retrieve each article's content.
  • πŸ“‹ Results are provided in a structured format (list of dictionaries).
  • βš™οΈ Customizable options to limit the number of posts and include or exclude article content in the results.

Input

The actor accepts the following input properties:

  • πŸ•΅οΈ Author name: The name of the Substack author whose posts you want to scrape. (Default: "garyvee")
  • πŸ”’ Limit number of posts: The number of posts to retrieve. This will get the latest 'n' posts, where 'n' is the specified limit. (Default: 25)
  • πŸ“œ Article content: A boolean flag to include or exclude the parsed article content in the results. (Default: false)

Output

The actor will return a JSON array containing information about each scraped post. Each entry in the array will be a dictionary containing the following keys:

  • πŸ“Œ title: The title of the post.
  • πŸ”— url: The URL of the post.
  • πŸ‘€ author: The author's name.
  • πŸ”— author_url: The URL of the author's Substack profile.
  • πŸ“… published_at: The publication date and time of the post.

If the "Article content" input property is set to true, each entry will also include the following key:

  • πŸ“ body: A list of content objects representing the structure of the article. Each content object will contain the following keys:
    • πŸ“Œ content_type: The type of content (e.g., "h" for heading, "p" for paragraph, "img" for image, "a" for link, "hr" for divider).
    • πŸ”— src: The source URL for images, videos, or links (optional).
    • πŸ†” level: The heading level for headings (optional).
    • πŸ“ content: The content of headings and paragraphs (optional).

Example :

1[{
2  "title": "April 26, 2023 ",
3  "subtitle": "",
4  "url": "https://heathercoxrichardson.substack.com/p/april-26-2023",
5  "author": "heathercoxrichardson",
6  "author_url": "https://heathercoxrichardson.substack.com",
7  "published_at": "2023-04-27 08:27:01.142000+00:00"
8},
9{
10  "title": "April 25, 2023",
11  "subtitle": "",
12  "url": "https://heathercoxrichardson.substack.com/p/april-25-2023",
13  "author": "heathercoxrichardson",
14  "author_url": "https://heathercoxrichardson.substack.com",
15  "published_at": "2023-04-26 07:47:36.272000+00:00"
16}]

image

Usage

To use this actor, simply provide the required input properties and run the actor. You can customize the input properties to limit the number of posts or include/exclude the article content in the results as needed.

Once the actor has completed its run, the scraped data will be available in the specified output format, making it easy to analyze, process, or store the information for further use.

Contact us ?

Any project or questions ?

πŸ“§ quentin.payre.entreprise@gmail.com Telegram @quentinpjf

Developer
Maintained by Community
Actor metrics
  • 8 monthly users
  • 0 stars
  • 89.7% runs succeeded
  • 1.2 days response time
  • Created in Apr 2023
  • Modified about 2 months ago