Skip to content

A python script to scrape News sites and automatically publish on any WordPress website

Notifications You must be signed in to change notification settings

dyegoaurelio/wordpress-auto-post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Auto Post

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

Installation

clone this repository

git clone https://github.com/dyegoaurelio/wordpress-auto-post.git

install requeriments

cd wordpress-auto-post && pip install -r requirents.txt

Testing

If you want to check if the News Source you want will be correctly scraped you can run.

python3 urlscrape.py

and them provide a url from a news within the desired site.

Running

insert your website information on auth.json

then just run

python3 publicarWP.py

and then the script will ask for you to provide each news url followed by it category, tag and date to publish.

About

A python script to scrape News sites and automatically publish on any WordPress website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages