From f910f1bfedeec3e873430b129c37c5381cf08e3d Mon Sep 17 00:00:00 2001 From: Seong JuWon <32597561+lumyjuwon@users.noreply.github.com> Date: Sat, 4 May 2019 17:57:54 +0900 Subject: [PATCH] Rename Package korean_news_crawler -> korea_news_crawler --- .gitignore | 4 ++++ {korean_news_crawler => korea_news_crawler}/articlecrawler.py | 4 ++-- {korean_news_crawler => korea_news_crawler}/articleparser.py | 0 {korean_news_crawler => korea_news_crawler}/exceptions.py | 0 {korean_news_crawler => korea_news_crawler}/sample.py | 2 +- {korean_news_crawler => korea_news_crawler}/sportcrawler.py | 0 6 files changed, 7 insertions(+), 3 deletions(-) rename {korean_news_crawler => korea_news_crawler}/articlecrawler.py (98%) rename {korean_news_crawler => korea_news_crawler}/articleparser.py (100%) rename {korean_news_crawler => korea_news_crawler}/exceptions.py (100%) rename {korean_news_crawler => korea_news_crawler}/sample.py (83%) rename {korean_news_crawler => korea_news_crawler}/sportcrawler.py (100%) diff --git a/.gitignore b/.gitignore index 35e8d14..f8bb5ae 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,7 @@ korean_news_crawler.egg-info/PKG-INFO korean_news_crawler.egg-info/requires.txt korean_news_crawler.egg-info/SOURCES.txt korean_news_crawler.egg-info/top_level.txt +korea_news_crawler/__pycache__/exceptions.cpython-36.pyc +korea_news_crawler/__pycache__/articleparser.cpython-36.pyc +korea_news_crawler/__pycache__/articlecrawler.cpython-36.pyc +.idea/KoreaNewsCrawler.iml diff --git a/korean_news_crawler/articlecrawler.py b/korea_news_crawler/articlecrawler.py similarity index 98% rename from korean_news_crawler/articlecrawler.py rename to korea_news_crawler/articlecrawler.py index 17c045f..9742ac1 100644 --- a/korean_news_crawler/articlecrawler.py +++ b/korea_news_crawler/articlecrawler.py @@ -4,8 +4,8 @@ from time import sleep from bs4 import BeautifulSoup from multiprocessing import Process -from korean_news_crawler.exceptions import * -from korean_news_crawler.articleparser import ArticleParser +from korea_news_crawler.exceptions import * +from korea_news_crawler.articleparser import ArticleParser import os import calendar import requests diff --git a/korean_news_crawler/articleparser.py b/korea_news_crawler/articleparser.py similarity index 100% rename from korean_news_crawler/articleparser.py rename to korea_news_crawler/articleparser.py diff --git a/korean_news_crawler/exceptions.py b/korea_news_crawler/exceptions.py similarity index 100% rename from korean_news_crawler/exceptions.py rename to korea_news_crawler/exceptions.py diff --git a/korean_news_crawler/sample.py b/korea_news_crawler/sample.py similarity index 83% rename from korean_news_crawler/sample.py rename to korea_news_crawler/sample.py index 0cd7430..d712d52 100644 --- a/korean_news_crawler/sample.py +++ b/korea_news_crawler/sample.py @@ -1,4 +1,4 @@ -from korean_news_crawler.articlecrawler import ArticleCrawler +from korea_news_crawler.articlecrawler import ArticleCrawler if __name__ == "__main__": Crawler = ArticleCrawler() diff --git a/korean_news_crawler/sportcrawler.py b/korea_news_crawler/sportcrawler.py similarity index 100% rename from korean_news_crawler/sportcrawler.py rename to korea_news_crawler/sportcrawler.py