'Reads index.html of downloaded API docs and parses for links to api docs files'

def get_api_doc_files(self):

    self.api_files = []
    entry_html = open((self.downloaddir + 'index.html'))
    soupy = BeautifulSoup(entry_html, 'html.parser')
    for element in soupy.find_all('a', {'class': 'reference    internal', 'href': re.compile('^.*\\.html$')}):
        self.api_files.append((self.downloaddir + element['href']))
    del soupy
