I spent the last couple of days figuring out how to scrape articles and drop them directly into my database and I thought that I would share what I have learned. I'm going to assume that you have an instance of mysql up and running either locally or on a server somewhere and that you can connect to it. I have a very basic setup with two tables, "articles" and "keywords" The articles table has "ID, keyword, title, article" as columns and the keywords table has "ID, keyword' I have prepopulated the keywords table with several thousand keywords to pull from First up - query the databas