Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Support a couple of variants on the imdb webpage url

  • Loading branch information...
commit 618f4b7a4dc2bf7ca1693da903467cd4403cdbc3 1 parent e5d6cab
Nicholas Munson authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  app/lib/imdbwl.py
2  app/lib/imdbwl.py
@@ -30,7 +30,7 @@ def _get_watchlist(self, url):
30 30
             # Check if user has provided watchlist webpage, rather than export URL
31 31
             try:
32 32
                 url_parts = url.split("/")
33  
-                if url_parts[3] == "user" or url_parts[5] == "watchlist":
  33
+                if url_parts[3] == "user" and url_parts[5].startswith("watchlist"):
34 34
                     url = "http://www.imdb.com/list/export?list_id=watchlist&author_id=%s" % (url_parts[4])
35 35
             except(IndexError):
36 36
                 pass

0 notes on commit 618f4b7

Please sign in to comment.
Something went wrong with that request. Please try again.