On Github AlJohri / scraping-presentation
Always use the network tab!
http://www.q1043.com/music/playlist/index.html?last10=1
http://www.q1043.com/services/now_playing.html?streamId=1465&limit=10
pip install requests lxml cssselect beautifulsoup4
import requests, lxml.html response = requests.get('https://www.google.com/') doc = lxml.html.fromstring(response.content) element = doc.cssselect("#hplogo")[0] print lxml.html.tostring(element)
gem install mechanize nokogiri