summarylogtreecommitdiffstats
path: root/loe-fetch.js
diff options
context:
space:
mode:
Diffstat (limited to 'loe-fetch.js')
-rw-r--r--loe-fetch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/loe-fetch.js b/loe-fetch.js
index 67c636b6d027..bfa889db885b 100644
--- a/loe-fetch.js
+++ b/loe-fetch.js
@@ -16,7 +16,7 @@ const zeroFill = require('zero-fill')
fetch.concat('https://www.legendsofequestria.com/downloads', (err, res, data) => {
if (err) throw err
let html = data.toString('utf8')
- const megaReg = /<a href="(https:\/\/mega\.nz\/#![a-zA-Z0-9_-]*![a-zA-Z0-9_-]*)">(.*?)<\/a>/ig
+ const megaReg = /<a href="(https:\/\/mega\.nz\/file\/[a-zA-Z0-9_-]*#[a-zA-Z0-9_-]*)">(.*?)<\/a>/ig
const versions = {}
for (let ma; (ma = megaReg.exec(html));) {
let key = ma[2].trim().toLowerCase()