mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-22 07:48:52 -05:00
Require non-place holder URIs
This commit is contained in:
parent
785072f159
commit
d5e21795e4
@ -66,7 +66,7 @@ public class Manami implements Datasource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Optional<URI> getPicture(String uri) throws Exception {
|
public Optional<URI> getPicture(String uri) throws Exception {
|
||||||
return getRecord(uri).map(r -> getStringValue(r, "picture", URI::create));
|
return getRecord(uri).map(r -> getStringValue(r, "picture", URI::create)).filter(r -> r.getPath().endsWith(".jpg"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Set<Integer> getDeadEntries(Source source) throws Exception {
|
public Set<Integer> getDeadEntries(Source source) throws Exception {
|
||||||
|
Loading…
Reference in New Issue
Block a user