Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def play_film(identifier):

@plugin.route('/enter_url/')
def enter_url():
mubi_url = xbmcgui.Dialog().input("Enter URL")
mubi_url = xbmcgui.Dialog().input("Enter URL", "https://mubi.com/films/")
film = mubi.get_film_id_by_web_url(mubi_url)
reel_id = -1
if "reels" in film and len(film["reels"]) > 0:
Expand Down
2 changes: 1 addition & 1 deletion resources/lib/mubi.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def get_default_reel_id_is_drm(self, film_id):

# function to obtain the film id from the web version of MUBI (not the API)
def get_film_id_by_web_url(self, mubi_url):
import re, html
import re
r = self._session.get(
mubi_url,
headers = {
Expand Down