freecodecamp-china/article-webpage-to-markdown-action
Automatically generate Markdown files based on the webpages of articles. Currently supports freeCodeCamp's news site.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| pageURL | A string contains an Original Article URL | yes | — |
| includedSelector | CSS selector of elements which should be included | — | — |
| excludedSelector | CSS selector of elements which should be excluded | — | — |
| markdownFolder | Path of the generated MarkDown file is a Relative Path relative to current working directory | no | ./ |
| githubToken | GitHub write and read token, auto created, no need to set | — | "" |
Outputs
| name | description |
|---|---|
| original_url | The original URL of the article. |
| title | The title of the article. |
| date | The publish date of the article. |
| author | The author of the article. |
| author_url | The URL of the article author. |
| markdown_file_path | The path to the generated Markdown file. |
| editor_url | The editor URL of the generated Markdown file. |