BBDL
Project description
BBDL
Downloads BB Newspaper for offline reading.
Usage
Can be used after importing
from bbdl import BBDL
Then init an object and get a target date.
app = BBDL()
year = "2023"
month = "09"
day = "18"
We need to identify how many pages the news has covered for that day.
app.max_page_check(year, month, day)
This would store the value in the app object as max_pages
print(app.max_pages) # E.g. 31
Lastly, call bb_dl_full()
function. Set download=False
to not download the pages. The pages will be stored in data/BB-<YEAR><MONTH><DAY>
folder if download=True
(default)
To view a list of image URLs it downloaded from, check its attribute list_of_urls
print(app.list_of_urls)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bbdl-0.0.1.tar.gz
(3.8 kB
view hashes)
Built Distribution
bbdl-0.0.1-py3-none-any.whl
(4.1 kB
view hashes)