Skip to content

Commit

Permalink
Bump version to 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgio.tropiano committed Jul 14, 2020
1 parent e27fd4e commit 7f39a91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions nts/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from bs4 import BeautifulSoup


__version__ = '1.1.3'
__version__ = '1.1.4'


# defaults to darwin
Expand Down Expand Up @@ -127,7 +127,8 @@ def parse_nts_data(bs):

bg_tag = bs.select('section#bg[style]')
background_image_regex = r'background-image:url\((.*)\)'
image_url = re.match(background_image_regex, bg_tag[0]['style']).groups()[0]
image_url = re.match(background_image_regex,
bg_tag[0]['style']).groups()[0]

# sometimes it's just the date
date = title_box.div.div.h2.span.text
Expand Down Expand Up @@ -275,7 +276,7 @@ def main():

if len(lines) == 0:
print('Didn\'t find shows to download.')
exit (1)
exit(1)

for line in lines:
download(line, False, download_dir)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name="nts-everdrone",
version="1.1.3",
version="1.1.4",
author="Giorgio Tropiano",
author_email="giorgiotropiano@gmail.com",
description="NTS Radio downloader tool",
Expand Down

0 comments on commit 7f39a91

Please sign in to comment.