import os
from urllib.parse import urlparse


def read_links_txt(filename):
    with open(filename) as f:
        return f.read().split('\n')


def get_file_name_from_url(url):
    return os.path.basename(urlparse(url).path)

1823b0c7fa1e487ee8cf6992bf9b02461e211fa0
<mask token>

<mask token>


def get_file_name_from_url(url):
    return os.path.basename(urlparse(url).path)

<mask token>


def read_links_txt(filename):
    with open(filename) as f:
        return f.read().split('\n')


def get_file_name_from_url(url):
    return os.path.basename(urlparse(url).path)

import os
from urllib.parse import urlparse


def read_links_txt(filename):
    with open(filename) as f:
        return f.read().split('\n')


def get_file_name_from_url(url):
    return os.path.basename(urlparse(url).path)
