Comments (5)
You can try to replace GetMainFolder($page) function with this:
function GetMainFolder($page)
{
if (preg_match('~"folder":\s+{.*?"list":.*?\}\s+\]~s', $page, $match))
{
$result = json_decode("{". $match[0] . "}}", true);
$result = $result['folder'];
return $result;
}
else return false;
}
from cloud-mail.ru-downloader.
You can try prevent the deleting input.txt file by commenting this line in the php-file:
@unlink($file4aria);
But the file should not be deleted until aria2c shutdown
from cloud-mail.ru-downloader.
I have the same. This is full output
Start create input file for Aria2c Downloader...
PHP Warning: Invalid argument supplied for foreach() in J:\CloudMailRu\data\[email protected]_downloader.php on line 75
Warning: Invalid argument supplied for foreach() in J:\CloudMailRu\data\[email protected]_downloader.php on line 75
Running Aria2c for download...
Exception caught
Exception: [download_helper.cc:563] errorCode=1 Failed to open the file J:\CloudMailRu\data/input.txt, cause: File not found or it is a directory
Done!
from cloud-mail.ru-downloader.
Подтверждаю, перестала работать win-версия и linux-версия. Похоже, что mailru поменяли дизайн страницы и теперь скрипт не может собрать прямые ссылки на файлы, спотыкается на первом шаге.
from cloud-mail.ru-downloader.
Try new update https://github.com/Geograph-us/Cloud-Mail.Ru-Downloader/releases/tag/1.0.3
from cloud-mail.ru-downloader.
Related Issues (20)
- json_decode return null HOT 1
- Не качает HOT 26
- ERROR: path too long HOT 4
- Не могу скачать HOT 7
- Неактуальная проверка останавливает работу скрипта
- Формат ссылок у mail.ru поменялся
- Не получается
- Некоректная работа с большими каталогами HOT 4
- Page ID not found HOT 3
- Что ты натворил!!!!
- совместимость с win7
- Не запускается скачивание Page ID not found HOT 1
- как забороть эту ошибку HOT 1
- Не запускается
- а где файл start.bat? HOT 1
- Нет start.bat HOT 2
- How to download a single file from a folder containing many files ? HOT 6
- start.bat missing HOT 1
- start.bat does not exists HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-mail.ru-downloader.