from collections import Iterable

def get_pages(links):
    if not isinstance(links, Iterable) or isinstance(
            links, (bytes, str)):
        links = [links]
    for link in links:
        #download the link with urllib
        print(link)


53b3af86d225882d0c394718e3bd06ed4272b308
<mask token>

<mask token>


def get_pages(links):
    if not isinstance(links, Iterable) or isinstance(links, (bytes, str)):
        links = [links]
    for link in links:
        print(link)

from collections import Iterable


def get_pages(links):
    if not isinstance(links, Iterable) or isinstance(links, (bytes, str)):
        links = [links]
    for link in links:
        print(link)

from collections import Iterable

def get_pages(links):
    if not isinstance(links, Iterable) or isinstance(
            links, (bytes, str)):
        links = [links]
    for link in links:
        #download the link with urllib
        print(link)

