__author__ = 'abhinandan'

# -*- coding: utf-8 -*-

import urllib
import requests
import datetime

filelog = open('/home/ubuntu/log/automationlog/ebay/ebay_2017-08-16.log', 'r')
filecontent = filelog.read()
print(urllib.quote(filecontent.encode('utf-8')))
#print(filecontent)
mailsubject="ebay daily load complete"
r = requests.get("http://production12.getpriceapp.com/data/notify/?body="+urllib.quote(filecontent.encode('utf-8'))+"&subject="+urllib.quote(mailsubject.encode('utf-8')))
#print(r.content)

d9502398613b76ba15d65fb6e86ec37ff67d3a9a
<mask token>

<mask token>
print(urllib.quote(filecontent.encode('utf-8')))
<mask token>

__author__ = 'abhinandan'
<mask token>
filelog = open('/home/ubuntu/log/automationlog/ebay/ebay_2017-08-16.log', 'r')
filecontent = filelog.read()
print(urllib.quote(filecontent.encode('utf-8')))
mailsubject = 'ebay daily load complete'
r = requests.get('http://production12.getpriceapp.com/data/notify/?body=' +
    urllib.quote(filecontent.encode('utf-8')) + '&subject=' + urllib.quote(
    mailsubject.encode('utf-8')))

__author__ = 'abhinandan'
import urllib
import requests
import datetime
filelog = open('/home/ubuntu/log/automationlog/ebay/ebay_2017-08-16.log', 'r')
filecontent = filelog.read()
print(urllib.quote(filecontent.encode('utf-8')))
mailsubject = 'ebay daily load complete'
r = requests.get('http://production12.getpriceapp.com/data/notify/?body=' +
    urllib.quote(filecontent.encode('utf-8')) + '&subject=' + urllib.quote(
    mailsubject.encode('utf-8')))

__author__ = 'abhinandan'

# -*- coding: utf-8 -*-

import urllib
import requests
import datetime

filelog = open('/home/ubuntu/log/automationlog/ebay/ebay_2017-08-16.log', 'r')
filecontent = filelog.read()
print(urllib.quote(filecontent.encode('utf-8')))
#print(filecontent)
mailsubject="ebay daily load complete"
r = requests.get("http://production12.getpriceapp.com/data/notify/?body="+urllib.quote(filecontent.encode('utf-8'))+"&subject="+urllib.quote(mailsubject.encode('utf-8')))
#print(r.content)
