Posts

Showing posts from May, 2017

Costliest phone from Samsung that you can buy in India

Every year Samsung showcase their new flagship phone. This year we have bezel less flagship phone Galaxy S8. Now it is available for sale from major retail and e-tail. Galaxy S8 cost you ₹57,900, however the costliest phone from Samsung is it's Galaxy Note 7 with the price tag of ₹62,900. Galaxy Note 7 shipping has been stopped due to the reported battery problem. This leaves us with Galaxy S8 as their costliest phone for now. Other S series from Samsung Galaxy costed about 30k to 40k range. Galaxy Note 8 is expected to release this year which will costlier than S8. Features of Galaxy S8: 8MP Front-Facing Camera Take clearer, sharper, more detailed selfies with Samsung’s best smartphone camera yet. Fingerprint Scanner Easily unlock your device using a new fingerprint scanner on the back of the device. Water & Dust Resistance With an IP68 water resistant rating, the Samsung Galaxy S8 can resist a splash or accidental dunk. Bixby Bixby Vision - Intelligent Interf

Python Selenium code to scrape Craiglist

This code will post ads on you behalf. You need to make changes in variables to be modified section. from __future__ import print_function from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.keys import Keys import time #Variables to be modified email="Your Email" psswd="You Password" title="Title of the post" location="Atlanta" postal_code= "30303" post_body = "Content Goes Here" driver = webdriver.Chrome('C:\Python27\chromedriver') driver.get("https://accounts.craigslist.org/login") #fill login form time.sleep(3) element = driver.find_element_by_xpath('//*[@id="inputEmailHandle"]') element.send_keys(email) element = driver.find_element_by_xpath('//*[@id="inputPassword"]') element.send_keys(psswd) element = driver.find_element_by_xpath('/html/body/section/section/div/div[1]/form/div[3]/button&