Skip to content

Fix for / SyntaxError: invalid syntax / OSError: [WinError 123] / GuessedAtParserWarning #8

@Obi-LAN-Kenobie

Description

@Obi-LAN-Kenobie

downloader.py Row 76
file_on_disk_path = dir_name + '/' + file_name
to
file_on_disk_path = dir_name + '\' + file_name

downloader.py Row 96
file = open(input_file_name, 'r')
to
file = open(input_file_name, 'r').read().splitlines()

downloader.py Row 34
soup = BeautifulSoup(urllib2.urlopen(url))
to
soup = BeautifulSoup(urllib2.urlopen(url), 'html.parser')

downloader.py Row 62
link_soup = BeautifulSoup(urllib2.urlopen(href))
to
link_soup = BeautifulSoup(urllib2.urlopen(href), 'html.parser')

Now its' working

Download: https://mega.nz/file/N5c2xT7a#8VXyeZFqRZju563qOb6SRgbb2qhUH96Z9R1LqBB3kMU

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions