Skip to content

code4fukui/fnct-news

Repository files navigation

fnct-news

日本語のREADMEはこちらです: README.ja.md

This project scrapes news from the Fukui National College of Technology website and publishes it as an open CSV dataset.

🌐 Live Demo

A live, searchable, and sortable view of the dataset is available via GitHub Pages:

➡️ https://code4fukui.github.io/fnct-news/

📊 Dataset

The dataset is a CSV file containing all scraped news articles, updated automatically.

Data Fields

  • url: The URL of the news article.
  • date: The publication date (YYYY.MM.DD).
  • category: The news category.
  • title: The title of the news article.

✨ Features

  • Data Scraping: Fetches news from the Fukui National College of Technology website.
  • Persistent Storage: Intelligently adds only new articles to the existing CSV, preserving historical data.
  • Automation: Automatically updates the dataset hourly using GitHub Actions.
  • CI/CD: Includes linting and testing workflows for code quality.

🚀 Development

This project uses Deno for all scripting.

Requirements

Running the Scraper Locally

To run the full scraping and update process:

deno run -A fetchNewsAll.js

Running Tests

The repository includes tests for the scraping logic.

deno test -A --unstable

🙏 Attribution

📄 License

MIT License — see LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors