Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit cf755a9

Browse files
committed
re-structure
1 parent 1427d0f commit cf755a9

8 files changed

Lines changed: 15 additions & 11 deletions

File tree

kaasi_cli/__init__.py

Whitespace-only changes.

kaasi_cli/__main__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from . import kaasi
2+
3+
kaasi.kaasi()
File renamed without changes.
File renamed without changes.

kaa.py renamed to kaasi_cli/kaa.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import re, json
2-
import scraper
3-
import anilist
2+
from kaasi_cli import scraper, anilist
43

54
Base_Url = "https://www2.kickassanime.ro/"
65

kaasi.py renamed to kaasi_cli/kaasi.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
import time, re, os
33

44
# local
5-
import anilist
6-
import kaa
7-
import scraper
5+
from kaasi_cli import kaa, scraper, anilist
86

97
logo = """
108
@@ -198,6 +196,10 @@ def play_vid(link,epsData):
198196
updateAnilist(epsData,ani)
199197

200198

199+
def kaasi():
200+
pass
201+
202+
201203
#MAIN PROGRAM
202204

203205
dcrpc = False;

scraper.py renamed to kaasi_cli/scraper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
import imp
12
import cloudscraper, re, base64, requests, random
23
from bs4 import BeautifulSoup
3-
import aes
4+
from kaasi_cli import aes
45

56
def parse_web(url,headers=None,raw=False):
67
try:

setup.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from setuptools import setup, find_packages
22

33
setup(
4-
name="kaa.si-cli",
4+
name="kaasi-cli",
55
version="1.0.0",
66
author="Soviena",
77
author_email="rovino.rs@gmail.com",
@@ -22,8 +22,7 @@
2222
"pypresence",
2323
"pycryptodome",
2424
],
25-
entry_points="""
26-
[console_scripts]
27-
kaasi=kaasi.py
28-
""",
25+
entry_points={
26+
'console_scripts': ['kaasi=kaasi_cli.kaasi:kaasi']
27+
}
2928
)

0 commit comments

Comments
 (0)