Coder Social home page Coder Social logo

Comments (34)

gaowanliang avatar gaowanliang commented on July 17, 2024 2

Due to the current program is only a beta program, and did not provide a rich set of tutorials.So for the sake of simplicity, many of them are metaphors, and it's not very clear what you're going to do.So it is normal for you to feel confused. When I release version 1.0, related tutorials will gradually become richer. At present, my time is relatively tight, I can only update occasionally, so I don’t have much time to write tutorials.

You just need to go to the release to download the file for your system architecture.You need to create a new folder and unzip the downloaded archive in that folder.You will then need to create a new config.json file in that folder and fill it in according to the format suggested in the readme. At present, since the program is only a beta version, you need to fill in all the content, including downloadFolder and moveFolder(even if you do not need to use these two folders, you will need to fill in an address that exists on your computer,the next version will fix this problem).Then run the binary file directly.

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024 1

If you only need to install and simply configure on Linux system, you can use this script. Although this script is in Chinese, it actually has few functions, and the operation is very simple.

https://github.com/P3TERX/aria2.sh

instructions

To ensure normal use, please install the basic components wget, curl and ca-certificates. Take Debian as an example:

apt install wget curl ca-certificates

Download script

wget -N git.io/aria2.sh && chmod +x aria2.sh

Run the script

./aria2.sh

Simple translation of menu

Aria2 one click installation management script enhanced version [v2.7.4] by P3 TERX.COM
0. Upgrade script
———————————————————————
1. Install aria2
2. Update aria2
3. Unload aria2
———————————————————————
4. Start aria2
5. Stop aria2
6. Restart aria2
———————————————————————
7. Modify the configuration
8. View configuration
9. View log
10. Clear log
———————————————————————
11. Update BT tracker manually
12. Update BT tracker automatically
———————————————————————
Aria2 status: installed | started
Auto update BT Tracker: on
Please enter the number [0-12]:

Just enter 1 to install and configure aria2 automatically,If you want to use it on azure, pay attention to limit the upload of BT download. The configuration file is in /~/.aria2c/aria2.conf. you can refer to this website to customize the information in it.

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

I installed aria2 but I don't know what I should do next. what commend I need to run in aria? I just need to download file from release and run it as executable? does config file gonna be created automatically or I need to create it? i still have many questions sorry for being noob so much.

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

Sorry if my words felt like a roast. You make amazing program you were super helpful. We're on GitHub so I didn't expect program that I'm gonna set up in few seconds. It's free and it's such a good work I think after completing entire program you could sell this.

Thanks for investing your time replying to me and making such an amazing tool. ♥️

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

Thank you very much for your interest in my program. Have a nice day.

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

Do I need to run any commands in aria2 before running executable?

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

No, but you need to make sure that your aria2 settings are correct and appropriate. At present, you can't set the configuration of aria2 through this bot (but actually the API of aria2 supports setting it through external programs)

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

Kind of weird question but i unapacked linux version of release but it's have ".file" extension and i can't really find a way to run. I tried doing

  1. sudo chmod +x ./DownloadBot
  2. ./DownloadBot

But it's saying ./Downloadbot: No such file or directory now I'm kinda lost and don't know what I should do.

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

There is no file ending with "file" suffix in all compiled files. You need to check whether you have decompression error or delete the suffix and try to run it.

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

I mean it don't have any extension but windows explorer says it's "File"

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

Linux binary executable itself does not have any extensions, you need to use the ls command to see if it is decompressed in the current folder

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

screen
Idk how to discribe what i get so just look on screenshot

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

At the same time, according to what you just said, your input and prompt error messages are not the same:

sudo chmod +x ./DownloadBot
./DownloadBot
But it's saying ./Downloadbot: No such file or directory now I'm kinda lost and don't know what I should do.

You typed "DownloadBot", but the output error says "Downloadbot",you need to check if there is a typo. If you feel uncomfortable typing, you can directly type "./Do "and press the Tab key to complete automatically

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

So I did it and didn't menage do set up it at the same time :/
image

EDIT: Wait now when I'm looking at it port is 80 need to check it out in config file
EDIT2: Why it's trying to do something in D: drive? in on linux
EDIT3: In the pattern on github there wasn't port so I did the same thing should I add it?

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

If you do not have Aria2 enabled, and if you are installing Aria2 through the script I mentioned above, type service aria2 start to start Aria2 (if you need to restart, simply change the start command to restart). If you use the above scripts to install, the default websocket address is "ws://127.0.0.1:6800/jsonrpc" instead of 5800.

As for the output of D: , the default error code position of the golang output is the absolute position of the error code in the system at the time of compiling the binary file, and has nothing to do with the system in use.

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

still same error

imageI

I used address that script gave me after completing installation

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

This should not be the correct address, based on my experience with this script, you should fill in "ws://127.0.0.1:6800/jsonrpc"

You should pay attention to hiding your IP address in the screenshot, so as to avoid being attacked by hackers.

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

It's on vm I don't think hackers can ddos microsoft so I don't really care.

image

Used ip that you gived me and it's connect but now started spamming this. When I used command nothing happens

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

I have never encountered this situation, which is generally caused by not connecting to the telegram server, you need to test the connectivity of this server with the TG server.

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

I haven't tested it on the Azure server, because it is not economical to install a program that needs to upload files on the Azure server. But this program works normally on other servers. If you still can’t solve it, I will find a time to test it on the Azure server and I will reply to you later.

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

After some googling found this and works perfectly now. Thanks for your help and this amazing program ❤ Closing issue for now

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

Okay when I want to link my onedrive I can't cuz your bot is unverified and it want approval from the admin. But I have torrented anime on that drive so I don't want to look suspicious, but I have my token and rclone config with my onedrive in it. Can I use this data to link my onedrive?

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

You can use rclone to mount your onedrive, And through the bot provided by the move file function to use, at this time you need to fill in the moveFolder for you to mount the folder pointed to.
As the current program is not perfect, is unable to pass the Google and Microsoft's audit, so now can not be verified

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

Ok gonna try it out

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

I transferred to windows and now I have other problem after sending link bot don't react at all and after sending random things says Unknown download link, please check again

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

Also only output in cmd was "0"

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

Do you know what can cause this?

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

It is not clear what the cause of this problem is, you can give a more detailed runtime log for reference.

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

Where is log file?

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

I mean, is there any other output?
The detailed log system can be planned after most of the functions have been completed. At present, it only provides basic error prompts.

If you can run this program successfully, please enter /start in telegram after running.

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

Soooo I was able to get it "running" but after I closed my machine I can't run it again, this is what I get after trying to run it:
image

EDIT: I was dumb i forget to turn on aria2

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

If you switch to Windows, you won't be able to connect to aria2 via ws://127.0.0.1:6800/jsonrpc, and of course it will report an error.

You need to check what is the rpc-listen-port in the aria2.conf, the information to be filled in the DownloadBot should be ws://127.0.0.1:5800/jsonrpc (assuming rpc-listen-port = 5800)

from downloadbot.

4zjata avatar 4zjata commented on July 17, 2024

Ok so now in most of the time its work but some times I have this issue
image

from downloadbot.

gaowanliang avatar gaowanliang commented on July 17, 2024

There are too many files in your BT file, so the program can't return so much text about the contents. If you are downloading large files for automation, it is not supported at present. It is expected that it will be supported initially in version 0.0.6.
Refer to "Functions realized" in readme for the support of related functions. Only those functions with a check mark in front of them are currently supported.

from downloadbot.

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.