This is a script a made a couple of years ago for learning purposes which scrapes news from News Sites and automatically publish on any WordPress Website
clone this repository
git clone https://github.com/Amar07Singh/NewScraping_wordpress.gitinstall requeriments
cd wordpress-auto-post && pip install -r requirents.txtIf you want to check if the News Source you want will be correctly scraped you can run.
python3 urlscrape.pyand them provide a url from a news within the desired site.
insert your website information on auth.json
then just run
python3 publicarWP.pyand then the script will ask for you to provide each news url followed by it category, tag and date to publish.