Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extracting TV Programming Lineup

This collection of scripts is designed to extract TV programming lineups from the Flemish public broadcasters. The main script, main.py, is responsible for executing this extraction process.

Usage Requirements

To run main.py, ensure your environment is equipped with the necessary packages and their corresponding versions. This script does not require daily execution as it retrieves programming data for the past 7 days and the upcoming 7 days, providing a comprehensive lineup spanning 15 days centered around the execution date.

Setup Instructions

Firefox Driver Initialization: The script utilizes Firefox driver to initialize headless browsers. Therefore, it requires a Firefox geckodriver. Ensure you have geckodriver installed, and specify its path in main.py for seamless execution.

Running the Script

Once the setup is complete, execute main.py to initiate the TV programming lineup extraction process.

Additional Notes

Geckodriver Path Configuration: Ensure the correct path to the geckodriver is provided in main.py to avoid any errors during execution.

main.py

If everything is set up correctly, this program is all you need to run to get 15 days of programming lineup.

programs

This section houses the essential programs required for main.py:

get_urls.py: A function that generates a list of URLs for a specified channel and date range.
get_programs.py: This function processes a list of URLs, returning a dataframe containing the programming lineup for those URLs.
enrich_data.py: A function that enhances the dataframe with enriched data, providing additional insights.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages