Added media support to XEmpire (HardX) scraper.

This commit is contained in:
2019-10-29 03:13:56 +01:00
parent e204f56370
commit d5073a73ce
2 changed files with 67 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ function scrollBanner(event) {
function photos() {
if (this.release.photos.length) {
return this.release.photos;
return this.release.photos.sort(({ index: indexA }, { index: indexB }) => indexA - indexB);
}
if (this.release.poster && !this.release.trailer) {