Skip to content

Instantly share code, notes, and snippets.

View Lafaiet's full-sized avatar

Lafaiet Silva Lafaiet

View GitHub Profile
@Lafaiet
Lafaiet / web_archive_crawler.py
Created September 27, 2018 06:42
Get available links from archieve.org captured from the website bankier.pl
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
driver = webdriver.Chrome()
url = 'https://web.archive.org/web/*/http://bankier.pl/'
driver.get(url)
@Lafaiet
Lafaiet / countries_list.py
Created November 15, 2020 08:27
countries list pairs
CHOICES = [
('AFGHANISTAN', 'AFGHANISTAN'),
('ALBANIA', 'ALBANIA'),
('ALGERIA', 'ALGERIA'),
('AMERICAN SAMOA', 'AMERICAN SAMOA'),
('ANDORRA', 'ANDORRA'),
('ANGOLA', 'ANGOLA'),
('ANGUILLA', 'ANGUILLA'),
('ANTARCTICA', 'ANTARCTICA'),
('ANTIGUA AND BARBUDA', 'ANTIGUA AND BARBUDA'),