Plex-Meta-Manager: IMDB lists: "Failed to parse URL" error
Version Number
1.19.1-nightly22
What branch are you on?
nightly
Describe the Bug
Any collection that uses imdb for its source is failing due a “Failed to parse URL” error.
The source urls are valid and show the intended lists on IMDB.
Relevant Collection/Overlay/Playlist Definition
## 1_suggested.yml
templates:
plex:
sort_title: "+1_<<num>>_<<collection_name>>"
sync_mode: sync
collection_mode: hide
visible_home: false
visible_shared: false
visible_library: false
delete_not_scheduled: false
cache_builders: 4
trakt:
sort_title: "+1_<<num>>_<<collection_name>>"
sync_mode: sync
collection_order: custom
collection_mode: hide
visible_home: false
visible_shared: false
visible_library: false
delete_not_scheduled: false
cache_builders: 4
imdb_popular:
sort_title: "+1_<<num>>_<<collection_name>>"
sync_mode: sync
collection_order: custom
collection_mode: hide
visible_home: false
visible_shared: false
visible_library: false
delete_not_scheduled: false
cache_builders: 4
imdb_list:
url: https://www.imdb.com/search/title/?title_type=<<title_type>>&languages=<<languages>>&sort=moviemeter,asc
limit: 200
imdb_top:
sort_title: "+1_<<num>>_<<collection_name>>"
sync_mode: sync
collection_order: custom
collection_mode: hide
visible_home: false
visible_shared: false
visible_library: false
delete_not_scheduled: false
cache_builders: 4
imdb_list:
url: https://www.imdb.com/search/title/?title_type=<<title_type>>&user_rating=<<user_rating>>&num_votes=<<votes>>,&languages=<<languages>>&sort=user_rating,desc&count=250
limit: 300
collections:
"Random Movies":
summary: "Random selection of movies"
url_poster: https://images2.imgbox.com/41/29/aa0NPuyr_o.png
visible_library: true
schedule: daily
template: {
name: plex,
num: 0
}
smart_filter:
all:
critic_rating.gte: 4
sort_by: random
limit: 250
"Recently Released Movies":
summary: "Recently added movies"
url_poster: https://images2.imgbox.com/12/39/VFlLhmvX_o.png
visible_library: true
template: {
name: plex,
num: 1
}
smart_filter:
any:
audio_language: English, english
sort_by: release.desc
limit: 200
"Recently Added Movies":
summary: "Recently added movies"
url_poster: https://images2.imgbox.com/40/fb/9zzJnUVQ_o.png
visible_home: true
visible_shared: true
visible_library: true
template: {
name: plex,
num: 1
}
smart_filter:
any:
audio_language: English, english
sort_by: added.desc
limit: 200
"Trending Movies":
summary: "Movies trending across the internet"
url_poster: https://images2.imgbox.com/5e/f5/lRkPiQHy_o.png
schedule: daily
template: {
name: trakt,
num: 2
}
trakt_chart:
chart: trending
time_period: daily
languages: en
countries: us, gb, ie, ca, au, nz
limit: 50
"Popular Movies":
summary: "Popular movies across the internet"
url_poster: https://images2.imgbox.com/2e/34/oxXyim7m_o.png
visible_library: true
schedule: daily
template: {
name: imdb_popular,
num: 3,
title_type: "feature",
languages: "en",
}
limit: 100
"Top Rated Movies":
summary: "Top rated movies across the internet"
url_poster: https://images2.imgbox.com/4d/9b/Xb3ambH9_o.png
schedule: daily
template: {
name: imdb_top,
num: 4,
title_type: "feature,tv_movie",
user_rating: "5.0,10.0",
votes: "10000,",
languages: "en"
}
limit: 200
"Most Watched Daily":
summary: "Movies trending across the internet"
url_poster: https://images2.imgbox.com/54/48/RpwMMx1Y_o.png
schedule: daily
template: {
name: trakt,
num: 5
}
trakt_chart:
chart: watched
time_period: daily
languages: en
countries: us, gb, ie, ca, au, nz
limit: 50
"Most Watched Weekly":
summary: "Movies trending across the internet"
url_poster: https://images2.imgbox.com/cc/37/PfqsdJzM_o.png
schedule: daily
template: {
name: trakt,
num: 6
}
trakt_chart:
chart: watched
time_period: weekly
languages: en
countries: us, gb, ie, ca, au, nz
limit: 50
"Most Watched Monthly":
summary: "Movies trending across the internet"
url_poster: https://images2.imgbox.com/c7/3c/7fM4BrER_o.png
schedule: weekly(sunday)
template: {
name: trakt,
num: 7
}
trakt_chart:
chart: watched
time_period: monthly
languages: en
countries: us, gb, ie, ca, au, nz
limit: 75
"Most Watched Yearly":
summary: "Movies trending across the internet"
url_poster: https://images2.imgbox.com/17/88/LYG1r4xG_o.png
schedule: weekly(sunday)
template: {
name: trakt,
num: 8
}
trakt_chart:
chart: watched
time_period: yearly
languages: en
countries: us, gb, ie, ca, au, nz
limit: 100
Logs
https://gist.github.com/0x5f3/1bd39f5ad2ad1b706410bd7a54549abf
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Reactions: 5
- Comments: 29 (12 by maintainers)
IMDb search builders should be working again in nightly
You may need to read the nightly wiki for any changes
We are working on a solution, which isn’t as simple because of the JavaScript you mention
IMDB has made some server-side changes that prevent PMM parsing the pages. There is no solution at present.
This isn’t unexpected. IMDB search URLs will have to be replaced with the new
imdb_search
builder.I get the same new error: [2023-12-09 09:01:06,457] [plex_meta_manager.py:812] [ERROR] | IMDb Error: https://www.imdb.com/search/title/?title_type=feature must begin with either:https://www.imdb.com/list/ls (For Lists) | | https://www.imdb.com/search/**keyword**/ (For Keyword Searches)
| https://www.imdb.com/filmosearch/ (For Filmography Searches)
Which suggests the old URL for search no longer works. For example, an old URL like: https://www.imdb.com/search/title/?companies=co0074039 (Disney movies) would be required to start with https://www.imdb.com/search/**keyword**/xxxxx but “companies” doesn’t seem to be an option in keyword searches.
Another example, old URL: https://www.imdb.com/search/title/?sort=user_rating,desc&groups=top_250&count=250 but “groups” isn’t an option either.
The old URLs still work on the iMDB website, but now PMM won’t run them.
I hope I’m mistaken, please correct me if I’ve missed something.
I’m getting this error after running the nightly build locally:
@chrisjohnson00 - there is NO direct way to create a list from your search terms. You just have to try to find an existing list that is as close to your search as possible. Or create your own list… But the great thing about searches is that they update their results each time you run PMM, so no list will be as good as your search… 😕
Yes; that’s an instance of this.