Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Python example to read data from the file (Example 1)

import requests
import json
import urllib2
import time

webhook_url = 'https://discordapp.com/api/webhooks/355866897704550412/e3dmYfVXANhJaCnZJkbewLUHLLu7zjEmo0GnskJC9fYrcMjO6VFAgNzISGOKI0sddcFq'
slack_data = {} #"username":"IFTTT YouTube Test",

while True:
    data = urllib2.urlopen("https://drive.google.com/uc?export=download&id=0B8OPOPGiSJ7fZlB5SjFFcmF0a1E")
    
    a = data.readlines()
    
    if a[0][0] == "F":
        slack_data["content"] = "```No Premade Games Scheduled```"
    else:
        b = ""
        b = b.join(a[1:])
    
        slack_data["content"] = "```" + b + "```"
    
    
    response = requests.post(
        webhook_url, data=json.dumps(slack_data),
        headers={'Content-Type': 'application/json'}
    )
    break

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.