Browse Source

Merge pull request #4856 from aaronkuchma/develop

Fix blu-ray.com backlog by sending the cookie required to get the layout...
pull/4808/merge
Ruud Burger 10 years ago
parent
commit
cf935f8a00
  1. 3
      couchpotato/core/media/movie/providers/automation/bluray.py

3
couchpotato/core/media/movie/providers/automation/bluray.py

@ -27,12 +27,13 @@ class Bluray(Automation, RSS):
if self.conf('backlog'): if self.conf('backlog'):
cookie = {'Cookie': 'listlayout_7=full'}
page = 0 page = 0
while True: while True:
page += 1 page += 1
url = self.backlog_url % page url = self.backlog_url % page
data = self.getHTMLData(url) data = self.getHTMLData(url, headers = cookie)
soup = BeautifulSoup(data) soup = BeautifulSoup(data)
try: try:

Loading…
Cancel
Save