Skip to content

Fix GitHub scraper #2512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 1, 2025
Merged

Fix GitHub scraper #2512

merged 2 commits into from
Jun 1, 2025

Conversation

spamguy
Copy link
Contributor

@spamguy spamguy commented May 30, 2025

Fixes #2507. Upon verifying scrapers that are subclasses of Github, a few had to be updated to fix errors:

  • Q: Removed Github as its parent class, because it is wiki-based.
  • nginx/Lua: Updated to latest version and fixed HTML clean.
  • Sanctuary: Fixed HTML clean and entry generation.
  • Koa: Updated scraper config.

If you're updating existing documentation to its latest version, please ensure that you have:

  • Updated the versions and releases in the scraper file
  • Ensured the license is up-to-date
  • Ensured the icons and the SOURCE file in public/icons/your_scraper_name/ are up-to-date if the documentation has a custom icon
  • Ensured self.links contains up-to-date urls if self.links is defined
  • Tested the changes locally to ensure:
    • The scraper still works without errors
    • The scraped documentation still looks consistent with the rest of DevDocs
    • The categorization of entries is still good
Siteproxy
… Lua/nginx imports
@spamguy spamguy requested a review from a team as a code owner May 30, 2025 18:55
@spamguy spamguy changed the title Change where GitHub scraper gets its JSON. Fix Koa, Q, Sanctuary, and… Fix GitHub scraper May 30, 2025
Copy link
Contributor

@simon04 simon04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@simon04 simon04 merged commit 4676f84 into freeCodeCamp:main Jun 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub scraper is broken
2 participants