/Digimon_BeautifulSoup_WebScraping

A simple Python project to scraping Digimon data from wikimon.net, then store all data into a csv file & MySQL database.

Primary LanguagePython

simplinnovation

🐍 Digimon Beautifulsoup Web Scraping

A simple Python project to scraping thousands of Digimon data (only its name & picture's url) from Wikimon.net, then store all data into a csv file & MySQL database.

  1. Activate MySQL server, create a database with a table inside:

    $ mysql -u yourUserName -p
    $ Enter password: *******
    $ create database digimon;
    $ use digimon;
    $ create table digimon(
        id int auto_increment,
        nama varchar(255),
        gambar varchar(255),
        primary key (id)
        ); 
  2. Install Beautifulsoup & MySQL connector package via pip:

    $ pip install beautifulsoup4 MySQL-connector-python
  3. Clone this repo & run digimon.py file:

    $ git clone https://github.com/LintangWisesa/Digimon_BeautifulSoup_WebScraping
    $ run digimon.py
  4. Enjoy~ 😎

    digimon_mysql

Lintang Wisesa 💌 lintangwisesa@ymail.com

Facebook | Twitter | Google+ | Youtube | :octocat: GitHub | Hackster