fix urllib imports

This commit is contained in:
matthias@quintern.xyz 2024-05-04 16:00:00 +02:00
parent 28ae4c71b0
commit 9adf866141
2 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
# Maintainer: Matthias Quintern <matthias(dot)quintern(at)posteo(dot)de>
pkgname=nicole
pkgver=2.1.0
pkgrel=1
pkgrel=2
pkgdesc="Write lyrics from genius or azlyrics.com to a mp3-tag"
arch=('any')
url="https:/github.com/MatthiasQuintern/nicole"
license=('GPL3')
depends=('python-mutagen' 'python-beautifulsoup4')
source=(file://${PWD}/nicole/nicole.py _nicole.compdef.zsh nicole.1.man)
md5sums=('1cfc6bca38b8e1b8c28694226eebb31e'
md5sums=('4000cc89931a680d6e8531cd0a3fcc0a'
'a0a390f36de74a366065ab65bfd1d8de'
'4ad29357b608c88eebc49546a50e489d')

View File

@ -1,11 +1,11 @@
#!/bin/python3
#!/usr/bin/env python3
# Copyright © 2024 Matthias Quintern.
# This software comes with no warranty.
# This software is licensed under the GPL3
from mutagen import easyid3, id3, flac
import urllib
import urllib.parse, urllib.request, urllib.error
import re
from bs4 import BeautifulSoup
from difflib import SequenceMatcher