Medium Scraper avatar
Medium Scraper
Try for free

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

View all Actors
Medium Scraper

Medium Scraper

qpayre/medium-scraper
Try for free

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

Revolutionize your content sourcing with Medium Author Scraper - the powerful Apify actor that effortlessly scrapes all posts / contents from your desired Medium author and returns the data in a structured format, giving you valuable insights in just seconds.

Medium Author Scraper

image

Medium Author Scraper is an Apify actor designed to scrape all posts from a specified Medium 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 Medium 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 Medium 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 Medium 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).
    • 馃敆 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": "Addressing Fake GaryVee Accounts and Scams",
3  "url": "https://medium.com/@garyvee/addressing-fake-garyvee-accounts-and-scams-86ae0e773780",
4  "author": "garyvee",
5  "author_url": "https://garyvee.medium.com",
6  "published_at": "2022-01-21 21:12:38.624000"
7},
8{
9  "title": "Gary Vaynerchuk鈥檚 Actual Thoughts On Hustle (Told Through Memes)",
10  "url": "https://medium.com/swlh/gary-vaynerchuks-actual-thoughts-on-hustle-told-through-memes-4992dc9ce616",
11  "author": "garyvee",
12  "author_url": "https://garyvee.medium.com",
13  "published_at": "2018-12-16 11:47:58.703000"
14},
15{
16  "title": "A Message For Those Feeling Lost In Their 20s",
17  "url": "https://medium.com/@garyvee/a-message-for-those-feeling-lost-in-their-20s-278a878baac2",
18  "author": "garyvee",
19  "author_url": "https://garyvee.medium.com",
20  "published_at": "2018-12-12 15:24:50.375000"
21}]

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
  • 4 monthly users
  • 87.9% runs succeeded
  • 0.0 days response time
  • Created in Apr 2023
  • Modified 10 months ago