Code Monkey home page Code Monkey logo

Comments (5)

iorsa avatar iorsa commented on July 18, 2024 1

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.

Geograph-us avatar Geograph-us commented on July 18, 2024

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.

amplenus avatar amplenus commented on July 18, 2024

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.

d0ctorrus avatar d0ctorrus commented on July 18, 2024

Подтверждаю, перестала работать win-версия и linux-версия. Похоже, что mailru поменяли дизайн страницы и теперь скрипт не может собрать прямые ссылки на файлы, спотыкается на первом шаге.

from cloud-mail.ru-downloader.

Geograph-us avatar Geograph-us commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.