Standardized project structure
This commit is contained in:
parent
4678f4a5c3
commit
1ad2d31f15
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
*.pyc
|
||||
__pycache__/
|
||||
/secrets.py
|
||||
*.sqlite
|
|
@ -10,13 +10,13 @@ import logging
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
import playstation
|
||||
import crunchyroll
|
||||
import personal_data.fetchers.playstation
|
||||
import personal_data.fetchers.crunchyroll
|
||||
|
||||
def determine_scrapers():
|
||||
scrapers = []
|
||||
#scrapers += playstation.SCRAPERS
|
||||
scrapers += crunchyroll.SCRAPERS
|
||||
#scrapers += personal_data.fetchers.playstation.SCRAPERS
|
||||
scrapers += personal_data.fetchers.crunchyroll.SCRAPERS
|
||||
return scrapers
|
||||
|
||||
def extend_csv_file(filename, new_dicts , deduplicate = False):
|
|
@ -1,8 +1,9 @@
|
|||
from data import Scraper
|
||||
import secrets
|
||||
import functools
|
||||
import logging
|
||||
|
||||
from personal_data.data import Scraper
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
API_ROOT = 'https://www.crunchyroll.com'
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
from data import Scraper
|
||||
import secrets
|
||||
import logging
|
||||
|
||||
from personal_data.data import Scraper
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
URL_RECENTLY_PLAYED_HTML = 'https://library.playstation.com/recently-played'
|
Loading…
Reference in New Issue
Block a user