This repository tracks documents submitted to radio station public files via their RSS feeds.
The FCC Public File Tracker is a project aimed at tracking the contents of public files at selected radio stations, and in particular urban format stations based on this Wikipedia page.
fetch_radio_stations.py
: Scrapes the list of stations from Wikipedia, creating a CSV file.get_fcc.py
: Uses that CSV file and the FCC's API to try and match RSS URLs to each station.url_checker.py
: Verifies that each RSS feed url works.rss_parser.py
: Takes a clean CSV file of radio stations, retrieves the RSS feed and parses it into JSON.
-
Clone the repository:
git clone https://github.com/dwillis/fcc_publicfile_tracker.git
-
Install the required dependencies:
pip install -r requirements.txt
Run the main script:
```bash
python rss_parser.py
```
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature/your-feature
. - Submit a pull request.
This project is licensed under the MIT License.
For any questions or inquiries, please contact dwillis@gmail.com.