I hereby claim:
- I am andela-cdike on github.
- I am erika_dike (https://keybase.io/erika_dike) on keybase.
- I have a public key whose fingerprint is 2D8D 1348 4B92 5058 7FFD 1235 A30E 2E8F 2515 5417
To claim this, I am signing this object:
# -*- coding: utf-8 -*- | |
# Generated by Django 1.10.5 on 2017-02-07 12:13 | |
from __future__ import unicode_literals | |
import django.contrib.postgres.fields.jsonb | |
from django.db import migrations, models | |
def load_testfunnels_from_fixture(apps, schema_editor): | |
from django.core.management import call_command |
I hereby claim:
To claim this, I am signing this object:
[ | |
{ | |
"feature_group": "Low Down Payment", | |
"feature_name": "Low Down Payment", | |
"order": 1, | |
"carriers": ["Metropolitan Insurance Service Consultants, Inc.", "The General Automobile Insurance Services, Inc."], | |
"icon": "IconFeaturesLowDownPayment" | |
}, | |
{ | |
"feature_group": "Buy Online", |
[ | |
{ | |
"group_id": 1, | |
"name": "Low Down Payment", | |
"icon": "IconFeaturesLowDownPayment" | |
}, | |
{ | |
"group_id": 2, | |
"name": "Buy Online", | |
"icon": "IconFeaturesBuyOnline" |
[ | |
{ | |
"feature_group": "Low Down Payment", | |
"feature_name": "Low Down Payment", | |
"order": 1, | |
"carriers": ["Metropolitan Insurance Service Consultants, Inc.", "The General Automobile Insurance Services, Inc."], | |
"icon": "IconFeaturesLowDownPayment" | |
}, | |
{ | |
"feature_group": "Buy Online", |
{ | |
"_id": { | |
"$oid": "..." | |
}, | |
"short_name": "", | |
"name": "", | |
"logo": "", | |
"offices": [ | |
{ | |
"address": "", |
from selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
def init_driver(): | |
driver = webdriver.Firefox() | |
driver.wait = WebDriverWait(driver, 5) | |
return driver |
import re | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.common.exceptions import ( | |
ElementNotVisibleException | |
) | |
def get_all_download_links(driver, url): |
import shutil | |
def save_image_to_file(image, dirname, suffix): | |
with open('{dirname}/img_{suffix}.jpg'.format(dirname=dirname, suffix=suffix), 'wb') as out_file: | |
shutil.copyfileobj(image.raw, out_file) |
import os | |
def make_dir(dirname): | |
current_path = os.getcwd() | |
path = os.path.join(current_path, dirname) | |
if not os.path.exists(path): | |
os.makedirs(path) | |