#!/usr/bin/env python3 # pip install lxml requests import os from argparse import ArgumentParser from subprocess import check_output from collections import OrderedDict import re import urllib.request from lxml import html import requests class Audio(object): def __init__(self, url, durata=None): self.url = url if durata is None: durata = get_duration(url.encode('utf-8')) self.durata = durata def __str__(self): return self.url def __repr__(self): return '