Create dir if not exists.
Download month's index file.
Args:
- year: str, e.g. "2017"
- month: str, e.g., "Jan"
- path: str
Returns: str: filename that contents were written into
Download individual message.
Args:
- year: str, e.g. "2017"
- month: str, e.g., "Jan"
- id: str, e.g., "0" path: str
Download entire raw html contents of month. Contents will be written to subdir, e.g. ./2017_01
Args:
- year: int
- month: int (Jan = 1)
Download multiple months, using start & end year/months. See dl_month for contents.
Args:
- year_start: int
- month_start: int (Jan = 1)
- year_end: int
- month_end: int (Jan = 1)
Determine how many messages the index file contains. Parses the first line (e.g., )
Args:
- filename: str
Returns: int