Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aprikyan/google-books-downloader
/ functions
Functions
11 in github.com/aprikyan/google-books-downloader
⨍
Functions
11
◇
Types & classes
0
↓ 1 callers
Function
capture_requests
Scrolls through the whole book, returns the requests driver made.
gbd.py:52
↓ 1 callers
Function
download_imgs
Takes the `dict` of pages to download, the cookie to use and the directory to save to, and then does the magic.
gbd.py:146
↓ 1 callers
Function
extract_urls
Takes driver's requests as an input, returns a `dict` of page image URLs.
gbd.py:74
↓ 1 callers
Function
get_book_data
Inspects the opened book, returns a `str` with its title and author.
gbd.py:39
↓ 1 callers
Function
get_book_url
Asks user for the URL, takes it, removes irrelevant suffixes, adds others, returns two URLs to extract data and links.
gbd.py:18
↓ 1 callers
Function
get_cookie
Driver needs to behave like a real user to GET page images. This function returns a cookie to bribe Google with.
gbd.py:127
↓ 1 callers
Function
save_backup
Asks user whether to backup the available image URLs for later use. Does so, if yes.
gbd.py:83
↓ 1 callers
Function
select_pages
Takes the range of pages user specified and image URLs of all pages available, returns a `dict` with selected pages only.
gbd.py:101
↓ 1 callers
Function
step1
()
gbd.py:164
↓ 1 callers
Function
step2
()
gbd.py:200
↓ 1 callers
Function
step3
()
gbd.py:225