Skip to content

Instantly share code, notes, and snippets.

@ahmedre
ahmedre / goodreads_to_book_track.py
Last active April 1, 2023 22:02
Goodreads export to Book Track friendly Importer
import csv
import requests
import sys
"""
This script converts a Goodreads export csv into a Book Track friendly csv.
It does this by querying Google Books' api for each book and adding its id,
along with removing some of the other unnecessary fields in the original
export.
@kyawkn
kyawkn / bookscraper.py
Created November 26, 2017 19:06
Python BeautifulSoup Scraper that scrapes book covers, titles and authors from www.goodreads.com
"""
Author @ Kyaw Khant Nyar
github: kyawkn
"""
import requests
import csv
from bs4 import BeautifulSoup as bs
import urllib
import os