Skip to content

andresscode/trailhead-badges-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trailhead Badges Scraper

Description

This Java application has been created to get the data in Trailhead.com from every badge to be stored in a NoSQL database.

Configuration

  • application.properties with the next parameters: uri (to connect to the database host), database (name), collection (name), and test (a test value for JUnit).
  • ChromeDriver installed.

Badges

Trailhead.com has three different types of badges:

  • Modules
  • Projects
  • Superbadges

The data stored from these badges is the next one:

  • Type: Represents if the badge is a Module, Project or Superbadge.
  • Name: Contains the name of the badge.
  • Href: Represents the URL of the badge inside Trailhead.com
  • Hours: The estimated duration of every badge.

Note: Superbadges has a minimum and maximum estimated duration.

Sample Data

Modules

{
    "type": "Module",
    "name": "API Basics",
    "href": "https://trailhead.salesforce.com/modules/api_basics",
    "hours": 2.00
}

Projects

{
    "type": "Project",
    "name": "Build Flexible Apps with Visualforce Pages and Lightning Components",
    "href": "https://trailhead.salesforce.com/projects/workshop-lightning-programmatic",
    "hours": 1.83
}

Superbadges

{
    "type": "Superbadge",
    "name": "Advanced Apex Specialist",
    "href": "https://trailhead.salesforce.com/en/superbadges/superbadge_aap",
    "hours": {
        "min": 12.00,
        "max": 16.00
    }
}

About

Scraper to extract the data from the badges in Trailhead

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages