This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
from time import sleep | |
class w2g: | |
def __init__(self, url = "https://www.w2g.tv"): | |
self.url = url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#my first truly own program! made on 12-12-16 made by montarion | |
import os | |
import requests | |
import json | |
import webbrowser | |
from time import sleep | |
def tracker(): | |
while True: | |
#---url for releases, in JSON---# | |
url = 'http://www.masterani.me/api/releases' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import getpass, poplib | |
import csv | |
def verwijderen(anu): | |
outfile = open("plaatsen2.csv", "w") | |
outfile.close() | |
infile = open("gebied.csv", "r") | |
file = infile.readlines() | |
plaatsen = len(file) | |
infile.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import getpass, poplib | |
import csv | |
def verwijderen(anu): | |
outfile = open("plaatsen2.csv", "w") | |
outfile.close() | |
infile = open("gebied.csv", "r") | |
file = infile.readlines() | |
plaatsen = len(file) | |
infile.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def email(): | |
import poplib | |
#server credentials | |
Mailbox = poplib.POP3_SSL('pop.googlemail.com', '995') | |
Mailbox.user('[email protected]') | |
Mailbox.pass_('password') | |
numMessages = len(Mailbox.list()[1]) | |
mailbestand = open('lastemail.txt', 'w') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def email(email): | |
import getpass, poplib | |
#server credentials | |
Mailbox = poplib.POP3_SSL('pop.googlemail.com', '995') | |
Mailbox.user('[email protected]') | |
Mailbox.pass_('Hondenbijeenkomst') | |
numMessages = len(Mailbox.list()[1]) | |
mailbestand = open('lastemail.txt', 'w') |