Skip to content

Instantly share code, notes, and snippets.

View arsenikov's full-sized avatar
As usual learning stuff !

SanJu arsenikov

As usual learning stuff !
View GitHub Profile
@managedkaos
managedkaos / azlyrics.py
Created August 1, 2017 04:29
Scrape lyrics from azlyrics.com
import requests
from bs4 import BeautifulSoup
url = "http://www.azlyrics.com/lyrics/onyx/bacdafucup.html"
print "Default request (it will fail)..."
# make the default request
try:
r = requests.get(url)