Reorganize file structure
This commit is contained in:
parent
dcb425b066
commit
1b89a3542c
|
@ -1,10 +1,10 @@
|
|||
import re
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
import scraper as Scraper
|
||||
import yomichan.export as YomichanExport
|
||||
from entries.jitenon_kotowaza import JitenonKotowaza
|
||||
from entries.jitenon_yoji import JitenonYoji
|
||||
import bot.scraper as Scraper
|
||||
import bot.yomichan.export as YomichanExport
|
||||
from bot.entries.jitenon_kotowaza import JitenonKotowaza
|
||||
from bot.entries.jitenon_yoji import JitenonYoji
|
||||
|
||||
|
||||
def run_all():
|
|
@ -2,8 +2,8 @@ import re
|
|||
from datetime import datetime, date
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
import yomichan.html_gloss as YomichanGloss
|
||||
import util as Util
|
||||
import bot.yomichan.html_gloss as YomichanGloss
|
||||
import bot.util as Util
|
||||
|
||||
|
||||
class Jitenon:
|
|
@ -1,5 +1,5 @@
|
|||
from entries.jitenon import Jitenon
|
||||
import yomichan.grammar as Grammar
|
||||
from bot.entries.jitenon import Jitenon
|
||||
import bot.yomichan.grammar as Grammar
|
||||
|
||||
|
||||
class JitenonKotowaza(Jitenon):
|
|
@ -1,4 +1,4 @@
|
|||
from entries.jitenon import Jitenon
|
||||
from bot.entries.jitenon import Jitenon
|
||||
|
||||
|
||||
class JitenonYoji(Jitenon):
|
|
@ -17,7 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||
"""
|
||||
|
||||
import argparse
|
||||
import crawlers as Crawlers
|
||||
import bot.crawlers as Crawlers
|
||||
|
||||
|
||||
choices = {
|
||||
|
|
Loading…
Reference in a new issue