These are chat archives for satan/666

3rd
Jun 2016
SΔTΔN
@satan
Jun 03 2016 01:22
wadup!
Yiannis Souchis
@obionar
Jun 03 2016 01:24
yo
SΔTΔN
@satan
Jun 03 2016 01:24
damn facebook
Yiannis Souchis
@obionar
Jun 03 2016 01:24
gamise to
SΔTΔN
@satan
Jun 03 2016 01:24
ama einai gia kodika arazoume edo
Yiannis Souchis
@obionar
Jun 03 2016 01:24
mporw na episinapsw kai arxeia?
SΔTΔN
@satan
Jun 03 2016 01:24
i sto diko sou kane kana link na vlepo se private opos thes
Yiannis Souchis
@obionar
Jun 03 2016 01:24

!/usr/bin/python3

from bs4 import BeautifulSoup
import requests

def insomniaSpider():
url = 'http://www.insomnia.gr/classifieds/laptops/lenovolaptops/'
source_code = requests.get(url)
plain_text = source_code.text
soup = BeautifulSoup(plain_text)

table = soup.find("table")
for row in table.findAll("tr"):
    col     = row.findAll("td")
    if len(col) == 4:
        image = col[0].find('img')
        adlink = col[1].find('a')
        adUrl = adlink['href']
        user = col[2]
        price = col[3]
        print("****************")
        print("Title: ", adlink.string)
        print("IMG: ", image['src'])
        print("URL: ", adUrl)
        print("Price: ", price.text.strip())
        itemDescription(adUrl)
        print("****************")
        print("")

def itemDescription(item_url):
source_code = requests.get(item_url)
plain_text = source_code.text
soup = BeautifulSoup(plain_text)
for itemName in soup.findAll("div",{"class": "addetail"}):
print("Description", itemName.p.text)

insomniaSpider()

den to pire olo
SΔTΔN
@satan
Jun 03 2016 01:25
evales autakia?
exei edit
pano dexia sthn ora
Yiannis Souchis
@obionar
Jun 03 2016 01:42
'
'

'#!/usr/bin/python3
from bs4 import BeautifulSoup
import requests

def insomniaSpider():
url = 'http://www.insomnia.gr/classifieds/laptops/lenovolaptops/'
source_code = requests.get(url)
plain_text = source_code.text
soup = BeautifulSoup(plain_text)

table = soup.find("table")
for row in table.findAll("tr"):
    col     = row.findAll("td")
    if len(col) == 4:
        image = col[0].find('img')
        adlink = col[1].find('a')
        adUrl = adlink['href']
        user = col[2]
        price = col[3]
        print("****************")
        print("Title: ", adlink.string)
        print("IMG: ", image['src'])
        print("URL: ", adUrl)
        print("Price: ", price.text.strip())
        itemDescription(adUrl)
        print("****************")
        print("")

def itemDescription(item_url):
source_code = requests.get(item_url)
plain_text = source_code.text
soup = BeautifulSoup(plain_text)
for itemName in soup.findAll("div",{"class": "addetail"}):
print("Description", itemName.p.text)

insomniaSpider()
'

pali

'#!/usr/bin/python3
from bs4 import BeautifulSoup
import requests

def insomniaSpider():
url = 'http://www.insomnia.gr/classifieds/laptops/lenovolaptops/'
source_code = requests.get(url)
plain_text = source_code.text
soup = BeautifulSoup(plain_text)

table = soup.find("table")
for row in table.findAll("tr"):
    col     = row.findAll("td")
    if len(col) == 4:
        image = col[0].find('img')
        adlink = col[1].find('a')
        adUrl = adlink['href']
        user = col[2]
        price = col[3]
        print("****************")
        print("Title: ", adlink.string)
        print("IMG: ", image['src'])
        print("URL: ", adUrl)
        print("Price: ", price.text.strip())
        itemDescription(adUrl)
        print("****************")
        print("")

def itemDescription(item_url):
source_code = requests.get(item_url)
plain_text = source_code.text
soup = BeautifulSoup(plain_text)
for itemName in soup.findAll("div",{"class": "addetail"}):
print("Description", itemName.p.text)

insomniaSpider()
'

dfasdfas
dfasdgasdg
#!/usr/bin/python3
from bs4 import BeautifulSoup
import requests

def insomniaSpider():
    url = 'http://www.insomnia.gr/classifieds/laptops/lenovolaptops/'
    source_code = requests.get(url)
    plain_text = source_code.text
    soup = BeautifulSoup(plain_text)

    table = soup.find("table")
    for row in table.findAll("tr"):
        col     = row.findAll("td")
        if len(col) == 4:
            image = col[0].find('img')
            adlink = col[1].find('a')
            adUrl = adlink['href']
            user = col[2]
            price = col[3]
            print("****************")
            print("Title: ", adlink.string)
            print("IMG: ", image['src'])
            print("URL: ", adUrl)
            print("Price: ", price.text.strip())
            itemDescription(adUrl)
            print("****************")
            print("")

def itemDescription(item_url):
    source_code = requests.get(item_url)
    plain_text = source_code.text
    soup = BeautifulSoup(plain_text)
    for itemName in soup.findAll("div",{"class": "addetail"}):
        print("Description", itemName.p.text)

insomniaSpider()
naiiii
SΔTΔN
@satan
Jun 03 2016 01:49
spammer
:+1:
oreos