Skip to content

Commit

Permalink
Merge pull request taxigps#146 from xodidox/subhd
Browse files Browse the repository at this point in the history
TV Shows tweak
  • Loading branch information
taxigps authored Feb 8, 2017
2 parents b964cc1 + 65ffc28 commit c9c4379
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion service.subtitles.subhd/addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="service.subtitles.subhd"
name="Sub HD"
version="1.0.11"
version="1.0.12"
provider-name="taxigps">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
Expand Down
5 changes: 4 additions & 1 deletion service.subtitles.subhd/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
1.0.11
1.0.12
- TV Shows tweak

1.0.11
- minor fix for TV Shows

1.0.10
Expand Down
2 changes: 1 addition & 1 deletion service.subtitles.subhd/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def Search( item ):
soup = BeautifulSoup(data)
except:
return
results = soup.find_all("div", class_="box")
results = [x for x in soup.find_all("div", class_="box") if x.find('div', class_='tvlist')]

for it in results:
link = SUBHD_BASE + it.find("div", class_="d_title").a.get('href').encode('utf-8')
Expand Down

0 comments on commit c9c4379

Please sign in to comment.