Move API
This commit is contained in:
parent
bdf811cc36
commit
cde7194936
7 changed files with 14 additions and 1 deletions
0
.gitignore → api/.gitignore
vendored
0
.gitignore → api/.gitignore
vendored
|
|
@ -9,7 +9,7 @@ from multiprocessing import Manager, Process
|
|||
from os import environ as env
|
||||
from os.path import exists
|
||||
from time import sleep
|
||||
from typing import Dict, List, Union
|
||||
from typing import List
|
||||
|
||||
from cryptography.fernet import Fernet
|
||||
from flask import Flask, request
|
||||
|
|
@ -117,6 +117,8 @@ def download(slug: str) -> List[str]:
|
|||
page_num: int = 1
|
||||
|
||||
options = Options()
|
||||
options.add_argument("--ignore-ssl-errors=yes")
|
||||
options.add_argument("--ignore-certificate-errors")
|
||||
options.add_experimental_option("excludeSwitches", ["enable-logging"])
|
||||
options.add_experimental_option(
|
||||
"prefs",
|
||||
11
ctme.code-workspace
Normal file
11
ctme.code-workspace
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "frontend"
|
||||
},
|
||||
{
|
||||
"path": "api"
|
||||
}
|
||||
],
|
||||
"settings": {}
|
||||
}
|
||||
Loading…
Reference in a new issue