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