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’s 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
  • 15 monthly users
  • 1 star
  • 73.1% runs succeeded
  • 14 hours response time
  • Created in Apr 2023
  • Modified about 1 year ago