GithubHelp home page GithubHelp logo

rosswang / aria2-integration Goto Github PK

View Code? Open in Web Editor NEW
220.0 11.0 39.0 17.49 MB

a Firefox Add-on to integrate with Aria2

License: MIT License

Visual Basic 0.06% C 0.98% Batchfile 0.58% JavaScript 54.69% HTML 43.70%

aria2-integration's Introduction

aria2-integration's People

Contributors

cennoxx avatar no1xsyzy avatar nyfair avatar rosswang avatar t7yang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aria2-integration's Issues

请求增加一个直接打开的按钮~

在下载时,希望增加一个打开按钮,直接调用系统默认的程序打开~

因为有时候下载一些txt或者office文档时,希望直接打开。

百度云盘下载不了

我设置好了aria2,可以下载115,但是百度网盘的文件下载不了:点击下载可以弹出链接,选择下载aria2Ng显示创建了新任务,然后马上就变成已停止任务。可能是链接解析错了?
禁用了插件后使用浏览器默认下载可以正常下载百度云文件。
请问怎么解决?谢谢

使用https協定無法將magnet傳遞給aria2

使用https無法傳遞magnet給aria2下載,用debugging能看到底下錯誤訊息。

Unchecked lastError value: Error: Message manager disconnected
withLastError
wrapPromise/<

Error SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Error: Could not establish connection. Receiving end does not exist.
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist.
withLastError
wrapPromise/<

文件名编码问题?

直接下载百度网盘的文件的时候,如果文件名包含非 ascii 字符,弹出的下载对话框中的文件名是乱码

image

如果用 BaiduExporter 添加下载的话文件名是正确的。

别的网站比如Github是正常的
image

没有测试更多国内的网站,不过感觉是个字符编码的问题。

弹出的下载页面, 内容无法正常显示

我是之前在插件下面评论的同学, 感觉问题没有描述清楚, 还是来这里说吧.

先放两张图

第一张图, 点击某个文件下载链接之后弹出来的, 上面无法显示内容
2017-11-17 15-35-39

第二张图, 用鼠标稍稍调整弹出页面的大小(放大缩小都可以)之后, 内容正常出现了
2017-11-17 15-35-55

这样的情景应该不是大小的问题的吧, 因为无论是放大还是缩小都可以显示内容.

错误地阻挡RSS订阅

开启下载集成的时候,点击RSS订阅的时候会自动弹出下载框,没有办法被火狐内置RSS订阅识别。
版本是AMO最新版0.2.4,火狐版本是Nightly 59.0a1。

SSL/TLF handshake failure: unable to get local issuer certificate

无法下载。无论是BT种子还是百度网盘,点击下载之后任务在“AriaNg->下载->已完成/已停止”里,任务状态为“SSL/TLF handshake failure: unable to get local issuer certificate”。
直接在AriaNg里打开种子下载正常。

建议:合并扩展弹出页面和详情页面

现在点击图标的弹出选项让人很迷惑,我就没看明白那个开关是:
关闭扩展?
关闭主程序?
……
反正下载中我没敢试。
其实可以直接进入详情页面,开关做在那里面
—— 如果是因为用的 Ng 项目不方便修改的话,还请明确下这个开关究竟啥意思吧。

Downloading with aria only via context menu

Hi,
I love the project but it would be great to be able to download with aria only on demand (by selecting from context menu) and by default (on click) using Firefox default tool.

I went over the options and successfully enabled context menus and they work like a charm, but I wasn't able to disable hickjacking normal clicks.

(this is a copy/followup to mayswind/AriaNg#284)

一些需求与建议

我对新的WebExtention不懂,具体有哪些权限我不知道,只能说说我希望实现什么。

  • 希望加入“浏览”按钮,方便选择具体的保存路径。(如果确实是这个功能的话)
    default
  • 先是浏览器自身的下载窗口,再选择用哪个下载方式
    image 1
  • 这里简单显示下载列表前几个的状态(怕同时下载过多),以及清除下载完成的任务功能,节约去WebUI控制的时间。
    1
  • 这个页面经常不会调用这个扩展
    https://notepad-plus-plus.org/download
  • Aria2设置界面加入一个链接检测功能,方便检测当前的Aria2配置是否正确。我自己是沿用的获取版本来检测。
    image 1

Send headers with context menu download

When right-clicking a link and selecting "Download with Aria2", it should launch the download with the same HTTP headers as the session the context menu is activated from.

This is needed to support downloads utilising HTTP authorisation fields.

与其他途径加入Aria2的下载进程共存问题

我今天用PUBD扒图,也用的是开机自启的Aria2,总共添加了10几万张图等待下载,然后我发现,本扩展会把其他途径加入Aria2的下载进程返回也读取出来,于是就不断的响起下载完成的提示音。

于是我去本扩展的设置里关掉了提示音,并且保存了设置,但是不断下载完成的提示音还是没能解除,最后我只好禁用扩展。

问题1:是否可以记录通过本扩展发送的GID,除此以外的不予提示。
问题2:是否存在关闭声音提示后,已获取下载进程声音仍然存在的BUG?

每次重启后内置的AriaNG的RPC地址都会自动改成

每次重启后内置的AriaNG的RPC地址都会自动改成30d6ec99-9809-4486-949d-681e6be3e74d这样的地址而不是默认的localhost,每次都要手动修改才能链接上aria,很恼火,求修复!
还有另一个问题就是用另存为下载卡饭的附件无法下载,必须用aria才能下载成功

請教如何禁用Dowload Panel?

想要回之前的版本:在磁鏈接或種子鏈接上右鍵Menu -> Download with Aria2,不會彈出Download Panel,直接發送至Aria2立即下載。最新版本每次都要在Download Panel上點擊,效率變差了> _ <

AriaNg RPC Settings are being overwritten in Firefox.

OS: Manjaro Linux (Kernel: 4.17.5-1-MANJARO)
Firefox: 61.0.1 (64-bit)

I have RPC Secret Token configured for aria2 which I could add into the AriaNg settings page to get it connected to the aria2 daemon, but the setting is only effective within the current settings tab, and only works when reloading the same settings tab. It is not saved globally. When opening a new settings tab I'll be greeted with the same "Authorization failed." error and in the AriaNg settings the RPC Secret Token settings became empty again. Of course, downloads won't work because the download page won't know about my RPC Secret Token, either.

EDIT: After some testing it seems something is actively overwriting the active profile's configurations.
If I add a new profile with the proper settings, but do not activate it, the profile will remain intact after opening a new configuration tab, but when the created profile becomes active, the settings will be overwritten.

When a profile is active, the profile's settings are being actively overwritten into
Aria2 RPC Alias: (empty, default, which is 127.0.0.1:6800)
Aria2 RPC Address: ws://127.0.0.1:6800/jsonrpc
Aria2 RPC Protocol: WebSocket
Aria2 RPC Secret Token: (empty)

And the overwritten settings are saved, because when I switch to another profile, the overwritten profile did not revert to the way I previously configured.

I'm not exactly sure why this happens, but given the fact that downloads never worked means the overwritten settings are always in effect, making the extension useless.

I tried saving sessions when it's connected (with proper settings), but it doesn't work, either.

EDIT2: After looking at the source code a bit I think the profile settings being overwritten seem to match those defined inside the config.js (config.command.guess). But settings in the Global Settings tab can still be saved properly.

EDIT3: SETTING RPC SERVERS IN AriaNg HAS NO EFFECT! You need to check the extension's Properties page (Add-ons) and set your RPC settings in the "RPC Servers" section. That's where the configurations get loaded.

Can't figure out how to integrate with aria2

I installed this extension in Firefox 57.0.2 64-bit on Windows.
The web page from which I downloaded it says:

You need to download and start Aria2 by yourself, complete at least 'Protocol,' 'Host,' 'Port' and 'Interface' in the options page and then click the 'Save' button.

If you don't want to start Aria2 manually, just write a program to start Aria2 in the background and register it to the system's 'autostart' or 'uri scheme.'

aria2c.exe is an executable. If I run it, it opens a terminal for about 1/20th of a second and then exits. If I run it from a terminal, it tells me it needs options, and exits. If I type "aria2c.exe -h" to get a list of its options, there are no options for protocol, host, port, or interface. There is certainly no "options page", and no way to run it in the background without assigning it a task, since it is strictly command-line.

In the reviews, the author advises people to go to https://github.com/RossWang/Aria2-Integration/tree/master/Bin and download aria2.zip. But that file says it is to update aria2 to version 1.33.1, which I already have, since I just installed aria2 right now.

I have no idea how to use this extension with aria2.

点击下载后会弹出ERROR

问题描述:当点击下载链接并在弹出的对话框里点击下载会弹出如下截图:
screenshot from 2017-10-27 12-34-46
但事实上,在我重装系统前,并没有这个出现,只有重装后才出现的。重装前后我的设置并没有变化。、

OS:Arch Linux
Kernel:x86_64 Linux 4.13.9-1-ARCH
FireFox:56.0.2 (64-bit)

文件名中的`/`应该被处理

如果下载文件名中含有文件系统不允许的字符,比如 /,那么在添加下载任务的时候应该把特殊字符替换掉,否则创建的下载文件有问题(/之前的部分被认做文件夹名,下载得到的文件不完整)。

可以用 Google Doc 做测试,新建一个含有特殊字符的文档,然后选择导出 pdf。

火狐默认的行为是替换成_1/2/3.pdf => 1_2_3.pdf
image

Aria-Integration 的行为
image
不管点击 Download 还是 Save 都没有处理文件名

Activation UX

After beginning a download, clicking on the Aria2 toolbar button presents a menu to turn it off and on and get to Details. Once Details is clicked, you have to manually close the menu as well (at least on my desktop environment). This results for Details as multiple clicks.

It would be preferable if we could make the toolbar button a direct open to the Details (downloading, waiting/finished) tab. Therein we can do other operations without having to click the menu off the toolbar. Usually turning it off and on doesn't seem a priority when a Aria2 service is constantly awaiting for input anyway but it can be moved to the Details areas for faster operation. This can also be alternatively dealt with opening the Details tab automatically once Download is clicked (a user configurable option).

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.