Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pulipulichen/api-crawler-example

An example to build a crawler by GitHub Action.
https://github.com/pulipulichen/api-crawler-example

Last synced: about 14 hours ago
JSON representation

An example to build a crawler by GitHub Action.

Awesome Lists containing this project

README

        

# API-Crawler-Example
An example to build a crawler by GitHub Action.

# Instruction

1. Fork this repo.
2. Edit `app/index.js`
* Use `await GetHTML(url, options)` to download the HTML source code.
* Use `$` jQuery to traverse and manipulate the content.
3. Setup GitHub Pages for Branch `gh-pages`
4. Schedule the job in `.github/workflows/crawler.yml`
# Output API
- https://pulipulichen.github.io/API-Crawler-Example/output.json