From d9215c883dc2ebb5ec1d82a6853a845495fe4a55 Mon Sep 17 00:00:00 2001 From: suryatejreddy Date: Sun, 30 Oct 2016 19:28:24 +0530 Subject: [PATCH] Add files via upload --- fb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fb.py b/fb.py index 5648fe8..e1eda08 100644 --- a/fb.py +++ b/fb.py @@ -7,7 +7,10 @@ import json import validators from selenium.webdriver.common.keys import Keys +from pyvirtualdisplay import Display #install xvfb and python module "pyvirtualdisplay" +newdisp=Display(visible=0, size=(200,200)) #this will hide the display +newdisp.start() def get_soup(url,header):