All Projects → michalczaplinski → Pitchfork

michalczaplinski / Pitchfork

Licence: mit
🎶 Unofficial python API for pitchfork.com reviews.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pitchfork

SD-streams
Anime streaming without ads using Beautifulsoup and requests Python
Stars: ✭ 18 (-73.13%)
Mutual labels:  requests, beautifulsoup
SJS DROPS
Script using requests module to register accounts to Slam Jam Socialism raffles.
Stars: ✭ 21 (-68.66%)
Mutual labels:  requests, beautifulsoup
pyitau
Unofficial client to access your Itaú bank data
Stars: ✭ 28 (-58.21%)
Mutual labels:  scraper, requests
wikipedia-reference-scraper
Wikipedia API wrapper for references
Stars: ✭ 34 (-49.25%)
Mutual labels:  scraper, beautifulsoup
TorScrapper
A Scraper made 100% in Python using BeautifulSoup and Tor. It can be used to scrape both normal and onion links. Happy Scraping :)
Stars: ✭ 24 (-64.18%)
Mutual labels:  scraper, beautifulsoup
BookingScraper
🌎 🏨 Scrape Booking.com 🏨 🌎
Stars: ✭ 68 (+1.49%)
Mutual labels:  scraper, beautifulsoup
premeStock
Monitors for restocks
Stars: ✭ 53 (-20.9%)
Mutual labels:  scraper, requests
Gsoc Organisation Scraper
Scrape GSoC organisations using a single script.
Stars: ✭ 121 (+80.6%)
Mutual labels:  requests, beautifulsoup
tiktok-downloader
Tiktok Downloader/Scraper using requests & bs4
Stars: ✭ 47 (-29.85%)
Mutual labels:  requests, beautifulsoup
kick-off-web-scraping-python-selenium-beautifulsoup
A tutorial-based introduction to web scraping with Python.
Stars: ✭ 18 (-73.13%)
Mutual labels:  scraper, beautifulsoup
Social Scraper
Tổng hợp script crawl dữ liệu từ các mạng xã hội & website tiếng Việt
Stars: ✭ 47 (-29.85%)
Mutual labels:  scraper, requests
Mechanicalsoup
A Python library for automating interaction with websites.
Stars: ✭ 3,863 (+5665.67%)
Mutual labels:  requests, beautifulsoup
Jobfunnel
Scrape job websites into a single spreadsheet with no duplicates.
Stars: ✭ 1,528 (+2180.6%)
Mutual labels:  scraper, beautifulsoup
python web scraping
Web scraping using python, requests and selenium
Stars: ✭ 40 (-40.3%)
Mutual labels:  scraper, requests
Requests Html
Pythonic HTML Parsing for Humans™
Stars: ✭ 12,268 (+18210.45%)
Mutual labels:  requests, beautifulsoup
Tieba-Birthday-Spider
百度贴吧生日爬虫,可抓取贴吧内吧友生日,并且在对应日期自动发送祝福
Stars: ✭ 28 (-58.21%)
Mutual labels:  requests, beautifulsoup
Languagepod101 Scraper
Python scraper for Language Pods such as Japanesepod101.com 👹 🗾 🍣 Compatible with Japanese, Chinese, French, German, Italian, Korean, Portuguese, Russian, Spanish and many more! ✨
Stars: ✭ 104 (+55.22%)
Mutual labels:  requests, beautifulsoup
Scraper-Projects
🕸 List of mini projects that involve web scraping 🕸
Stars: ✭ 25 (-62.69%)
Mutual labels:  scraper, beautifulsoup
Turkce Python Kaynaklari
Türkçe olarak hazırlanmış Python programlama dili ile ilgili içeriklerin derlendiği sayfa.
Stars: ✭ 295 (+340.3%)
Mutual labels:  requests, beautifulsoup
Easy Scraping Tutorial
Simple but useful Python web scraping tutorial code.
Stars: ✭ 583 (+770.15%)
Mutual labels:  requests, beautifulsoup

pitchfork

An unofficial python API for pitchfork.com reviews.

Build Status PyPI - Python Version

Installation

You can get it from python package index:

pip install pitchfork

You can also clone the repository, but note that pitchfork depends on beautifulsoup4 for HTML parsing so you first have to install beautifulsoup4 yourself:

git clone https://github.com/michalczaplinski/pitchfork.git
cd pitchfork
pip install -r requirements.txt

Usage

>> import pitchfork

>> p = pitchfork.search('kanye west', 'my beautiful') # the title is autocompleted
>> p.album() # the full album title
u'My Beautiful Dark Twisted Fantasy'

>> p.label()
u'Def Jam / Roc-A-Fella'

>> p.editorial()[:100] # get the first 100 characters of the review.
u"Kanye West's 35-minute super-video,\xa0Runaway, peaks with a parade. Fireworks flash while red hoods ma"

# the link to the album cover image
>> p.cover()
'http://cdn4.pitchfork.com/albums/15935/homepage_large.831179e9.jpg'

>> p.score()
10.0
# pretty overrated IMHO!

Tests

You can run the basic tests located in the tests directory with:

$ cd path/to/tests
$ python -m unittest discover

License

MIT

Contributions

If you want to add some new feature, suggest improvement or whatnot you're welcome to message me or send a pull request!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].