Use the baidu-pan-downloader
with development and dynamic loading mode in Tampermonkey
.
#34
Comments
copy/install react-userscripts-dev.user.js to your Greasemonkey . it will load the source from the port 5000 on your local. |
An additional question first: At the build step of
I am not familiar with
Then install the Then log in to my Baidu network disk as follows: But I still can't find the logo of OTOH, even I don't use As you can see, I can download files from Baidu network disk without the help of
What's HMR function and its role? |
Some small files like .pdf .txt can be downloaded directly from the web side without any plugins or baidu client.
It just a warning message, which should not cause any problems
Currently I dun't know the availability of Greasemonkey please use Tampermonkey instead
it's [Hot module replacement] exchanges, adds, or removes modules while an application is running, without a full reload for the development. |
If so, you should remove the |
@hongyi-zhao Did you run |
The Firefox shown above is opened automatically by the following command, running from the root directory of the locally cloned
After the above command completes, the terminal console will stay with the information shown below: And I can also confirm the port 5000 is up:
|
@hongyi-zhao it's working for me. |
See the following:
|
@hongyi-zhao I mean the browser console(developer tool) |
Can you show a screenshot of yours? This way, I can intuitively know what it should look like when it's working. Now, I create a tampermonkey userscript using the
Do you mean the following? |
I should have pasted all the content of bundle.user.js for the normal mode or react-userscripts-dev.user.js for the development mode when creating the userscript in tampermonkey. And then restart the browser. I now use the self built user script, i.e., After further experimentation, this approach does seem to work, but the speed fluctuates: What I observed is that suddenly there will be a very high speed, and then it will change to 0 speed, and go back and forth in turn. So I think it has been detected and blocked by Baidu. OTOH, for a pdf file, though it can be downloaded rapidly by
In this case, BTW: What screen capture tool do you use to get the screenshots posted above? |
Yeah , that's why I hardly update this plugin any more. the speed has been limited. But still no idea to avoid the limitation from baidu cloud 😞
snipaste, it's a free software , but doens't sesm to be open source |
Yeah , some files with the suffix like |
I don't know what do you mean by saying the above. More specifically, the previous version already supplied two modes: locally direct connect and share download mode as shown below, denoted by 1 and 2:
There is currently no Linux version of this tool, which makes it useless for me.
Thank you. The following does the trick:
To summarize: In any case, any cloud storage is under the control of the provider itself. It seems meaningless to further study the technology behind this tool, which will only cause a waste of time. Further speaking, any further research and experimentation with other similar tools is not necessary too. |
baidu-pan-downloader
in development and dynamic loading mode without the help of Greasemonkey.baidu-pan-downloader
in development and dynamic loading mode with the help of Tampermonkey.
baidu-pan-downloader
in development and dynamic loading mode with the help of Tampermonkey.baidu-pan-downloader
in development and dynamic loading mode in Tampermonkey.
baidu-pan-downloader
in development and dynamic loading mode in Tampermonkey.baidu-pan-downloader
in development and dynamic loading mode in Tampermonkey
.
baidu-pan-downloader
in development and dynamic loading mode in Tampermonkey
.baidu-pan-downloader
with development and dynamic loading mode in Tampermonkey
.
the default download mode was locally direct and I switched to share download mode for now
Yeah , agreed. To be honest , the only use of this plugin at this stage is to download smaller files that are (usually less than 200MB or smaller size) directly. without additional baidu client or the third-party downloader. |
If you do, it means that you pay Baidu for the people who use this tool. If so, no matter what download method you use, say, by |
it can be used to provide unlimited link to multi users. |
If one SVIP can be used to provide unlimited link to multi users, I think Baidu may also be able to quickly spot and block abuse of this feature once you serve users based on it. In nature, this is not a technology-based cracking, but a commercial service supplied by its provider. Such things should not be the core focus of such tools: It means compromise on commercial services and failure to break through technical barriers. But OTOH, let To summarize again: Any hacking technique that breaks through the technical barriers of commercialized services cannot be done once and for all. Once abused, it will eventually be blocked and completely invalidated. But as a supplement and convenient replacement of existing official counterpart product, cross-platform implementation still has its value. Instead of providing a built-in svip token, let it automatically obtain the svip token of the current account, if it exists, otherwise, provide a setting option to let the user fill in their own svip token. See the views expressed in the comments here:
Some additional side remarks and questions:
The
In the case of purchasing svip, BTW: How do I generate my SVIP token as an SVIP user? |
Baidu force the free user to install their client to download big file. This tool bypass that. |
As discussed here: It has been invalidated/blocked by Baidu currently. |
Just tested, it still work. You need to add the file to your drive first. |
What do you mean by saying |
You need a Baidu Pan account. Add the shared file to your Baidu Pan then download using this tool. |
Strange. All my testings described here in this issue are done this way. |
Can you see the "+" icon at the bottom right in Baidu Pan website? |
Yes. There is a |
So the tool did show the download speed? Is the download percentage go forward? |
Could you please give a screenshot? |
OK. See the following testing result on my machine with Firefox using the following script installed into tampermonkey:
And as you can see, I've logged in with my Baidu SVIP account: BTW: What screen capture tool do you use to get the screenshot posted above? |
Firefox has a built in screenshot tool, just right click and select As mentioned by @dotennin, you will need to pull the one on Aug 31, 2020 or before to use the local direct download. I do not have SVIP so I cannot test this. To do it, close the Baidu Pan website and click the link below, Tampermonkey should run. Click reinstall then open Baidu Pan website, now the local direct download button should work. |
Can you see the generated link when you click the local direct download button? |
Try the latest update. There is a new option to change the download mode. Try both. Remember to refresh the Baidu Pan website after changing setting and before download. I can't help further if it still not working as I do not have a SVIP account. |
It is still very usable for free account user to bypass the desktop client. This is a very hard thing to do as Baidu will keep changing to kill off this kind of bypass as this reduce their profit. It is too harsh to call this a failure. Maybe you can try Wine and install the Windows desktop client of Baidu Pan. |
Why do you suggest me try the Wine based solution, considering that this is a rather hard and low efficient way? As you can see, I'm using baidunetdisk installed by baidunetdisk_3.5.0_amd64.deb. I think this is the Linux counterpart of the Windows desktop client of Baidu Pan for Windows. |
Didn't know they has a Linux version. The latest is 4.3.0, maybe that fixed the crash issue. |
On Ubuntu 20.04.3 LTS, The baidunetdisk_4.3.0_amd64.deb still crashes, but baidunetdisk_3.5.0_amd64.deb works well. The Linux version is already listed on this official download site. |
On Ubuntu 20.04.3 LTS, I want to directly use the
baidu-pan-downloader
in development and dynamic loading mode without the help of Greasemonkey. The detailed steps are as follows:Through the above method, the Firefox browser will automatically open and navigate to https://pan.baidu.com/disk/home. But I'm still not sure whether the above method will let me directly use the
baidu-pan-downloader
in development and dynamic loading mode without the help of Greasemonkey.Any hints/comments/explanations will be highly appreciated.
Regards,
HZ
The text was updated successfully, but these errors were encountered: