Skip to content

Commit

Permalink
Force trailing slash for custom domains
Browse files Browse the repository at this point in the history
  • Loading branch information
steeve committed Nov 10, 2013
1 parent b5251bb commit b8dc92f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion resources/site-packages/xbmctorrent/scrapers/eztv.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from xbmctorrent.utils import ensure_fanart


BASE_URL = plugin.get_setting("base_eztv")
BASE_URL = "%s/" % plugin.get_setting("base_eztv")
HEADERS = {
"Referer": BASE_URL,
}
Expand Down
2 changes: 1 addition & 1 deletion resources/site-packages/xbmctorrent/scrapers/kickass.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from xbmctorrent.utils import ensure_fanart


BASE_URL = plugin.get_setting("base_kickass")
BASE_URL = "%s/" % plugin.get_setting("base_kickass")
HEADERS = {
"Referer": BASE_URL,
}
Expand Down
2 changes: 1 addition & 1 deletion resources/site-packages/xbmctorrent/scrapers/tpb.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from xbmctorrent.utils import ensure_fanart


BASE_URL = plugin.get_setting("base_tpb")
BASE_URL = "%s/" % plugin.get_setting("base_tpb")
HEADERS = {
"Referer": BASE_URL,
}
Expand Down
2 changes: 1 addition & 1 deletion resources/site-packages/xbmctorrent/scrapers/yify.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from xbmctorrent.utils import ensure_fanart


BASE_URL = plugin.get_setting("base_yify")
BASE_URL = "%s/" % plugin.get_setting("base_yify")
HEADERS = {
"Referer": BASE_URL,
}
Expand Down

0 comments on commit b8dc92f

Please sign in to comment.