|
|
|
@ -5,16 +5,14 @@ from getpass import getpass |
|
|
|
from os.path import abspath, dirname |
|
|
|
from os.path import abspath, dirname |
|
|
|
from random import randint |
|
|
|
from random import randint |
|
|
|
from time import sleep |
|
|
|
from time import sleep |
|
|
|
import base64 |
|
|
|
|
|
|
|
import json |
|
|
|
|
|
|
|
import requests |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Gör fb-scraper till arbetsmapp |
|
|
|
# Gör fb-scraper till arbetsmapp |
|
|
|
chdir(dirname(dirname(abspath(__file__)))) |
|
|
|
chdir(dirname(dirname(abspath(__file__)))) |
|
|
|
|
|
|
|
|
|
|
|
from arangodb import arango_connect |
|
|
|
from arangodb import arango_connect |
|
|
|
import config |
|
|
|
import config |
|
|
|
from helpers import now, nowstamp |
|
|
|
from helpers import nowstamp |
|
|
|
|
|
|
|
|
|
|
|
def used_servers(profiles='profiles'): |
|
|
|
def used_servers(profiles='profiles'): |
|
|
|
cursor = db.aql.execute( |
|
|
|
cursor = db.aql.execute( |
|
|
|
|