Skip to content

Instantly share code, notes, and snippets.

View VISWESWARAN1998's full-sized avatar
:octocat:
Writing programs to make your life easier!

VISWESWARAN1998 VISWESWARAN1998

:octocat:
Writing programs to make your life easier!
View GitHub Profile
@VISWESWARAN1998
VISWESWARAN1998 / spamreport.py
Created February 17, 2020 13:46
Reporting the spam
# SWAMI KARUPPASWAMI THUNNAI
import requests
import time
from bs4 import BeautifulSoup
from selenium import webdriver
browser = webdriver.Chrome()
browser.get("https://www.github.com/login")
@VISWESWARAN1998
VISWESWARAN1998 / emoji.json
Created August 30, 2017 14:42
There is no official WhatsApp API. Here is a simple python class which satisfies the need.
{
":laughing:" : ":-d",
":neutral_face:" : ":-|",
"stuck_out_tongue:" : ":-p",
":heart:" : "<3",
":simple_smile:" : ":-)",
":worried:" : ":-(",
":-1:" : "(n)",
":thumbsup:" : "(y)",
":wink:" : ";-)"
@VISWESWARAN1998
VISWESWARAN1998 / bitly_api.py
Created August 24, 2017 15:05
Shorten the url using bitly and Python 3.x
# SWAMI KARUPPASWAMI THUNNAI
import urllib.request
import json
class Shorterner:
"""
This class is used to shorten the long urls
"""
__genericAccessToken = None