Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92370 > unrolled thread

Want to readout the control file of aria2.

Started byHongyi Zhao <hongyi.zhao@gmail.com>
First post2015-06-09 22:21 +0000
Last post2015-06-09 23:45 +0000
Articles 8 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Want to readout the control file of aria2. Hongyi Zhao <hongyi.zhao@gmail.com> - 2015-06-09 22:21 +0000
    Re: Want to readout the control file of aria2. Joel Goldstick <joel.goldstick@gmail.com> - 2015-06-09 18:52 -0400
      Re: Want to readout the control file of aria2. Hongyi Zhao <hongyi.zhao@gmail.com> - 2015-06-09 23:19 +0000
        Re: Want to readout the control file of aria2. Joel Goldstick <joel.goldstick@gmail.com> - 2015-06-09 19:21 -0400
          Re: Want to readout the control file of aria2. Hongyi Zhao <hongyi.zhao@gmail.com> - 2015-06-09 23:32 +0000
    Re: Want to readout the control file of aria2. Laura Creighton <lac@openend.se> - 2015-06-10 00:58 +0200
      Re: Want to readout the control file of aria2. Hongyi Zhao <hongyi.zhao@gmail.com> - 2015-06-09 23:29 +0000
        Re: Want to readout the control file of aria2. Hongyi Zhao <hongyi.zhao@gmail.com> - 2015-06-09 23:45 +0000

#92370 — Want to readout the control file of aria2.

FromHongyi Zhao <hongyi.zhao@gmail.com>
Date2015-06-09 22:21 +0000
SubjectWant to readout the control file of aria2.
Message-ID<ml7osv$aog$2@aspen.stu.neva.ru>
Hi all,

I want to read out the control file of aria2, which is a binary file 
including the data format depicted here:

http://aria2.sourceforge.net/manual/en/html/technical-notes.html

Could you please give me some snipped codes for this purpose?

Regards
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.





-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

[toc] | [next] | [standalone]


#92371

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2015-06-09 18:52 -0400
Message-ID<mailman.323.1433890323.13271.python-list@python.org>
In reply to#92370
On Tue, Jun 9, 2015 at 6:21 PM, Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
> Hi all,
>
> I want to read out the control file of aria2, which is a binary file
> including the data format depicted here:
>
> http://aria2.sourceforge.net/manual/en/html/technical-notes.html
>
> Could you please give me some snipped codes for this purpose?
>
> Regards
> --
> .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
>
>
>
>
>
> --
> .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
> --
> https://mail.python.org/mailman/listinfo/python-list

I found this: http://aria.pasteur.fr/developers/aria-python-api

Does that help?


-- 
Joel Goldstick
http://joelgoldstick.com

[toc] | [prev] | [next] | [standalone]


#92374

FromHongyi Zhao <hongyi.zhao@gmail.com>
Date2015-06-09 23:19 +0000
Message-ID<ml7saf$aog$3@aspen.stu.neva.ru>
In reply to#92371
On Tue, 09 Jun 2015 18:52:00 -0400, Joel Goldstick wrote:

> I found this: http://aria.pasteur.fr/developers/aria-python-api
> 
> Does that help?

The aria mentioned by your above links is completely different thing WRT 
the one I posted here ;-(

Regards
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

[toc] | [prev] | [next] | [standalone]


#92375

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2015-06-09 19:21 -0400
Message-ID<mailman.326.1433892098.13271.python-list@python.org>
In reply to#92374
On Tue, Jun 9, 2015 at 7:19 PM, Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
> On Tue, 09 Jun 2015 18:52:00 -0400, Joel Goldstick wrote:
>
>> I found this: http://aria.pasteur.fr/developers/aria-python-api
>>
>> Does that help?
>
> The aria mentioned by your above links is completely different thing WRT
> the one I posted here ;-(
>
> Regards
> --
> .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
> --
> https://mail.python.org/mailman/listinfo/python-list

Well, maybe Laura's link will be what you need?

-- 
Joel Goldstick
http://joelgoldstick.com

[toc] | [prev] | [next] | [standalone]


#92377

FromHongyi Zhao <hongyi.zhao@gmail.com>
Date2015-06-09 23:32 +0000
Message-ID<ml7t1g$aog$5@aspen.stu.neva.ru>
In reply to#92375
On Tue, 09 Jun 2015 19:21:30 -0400, Joel Goldstick wrote:

>> https://mail.python.org/mailman/listinfo/python-list
> 
> Well, maybe Laura's link will be what you need?

Not still.  Laura's link is a python script which interactively using 
aria2 for downloading via rpc.  I want to readout the binary control file 
of aria2 ( *.aria2 ).

Regards
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

[toc] | [prev] | [next] | [standalone]


#92372

FromLaura Creighton <lac@openend.se>
Date2015-06-10 00:58 +0200
Message-ID<mailman.324.1433890734.13271.python-list@python.org>
In reply to#92370
No promises -- I never used this myself, but it looks like:

https://github.com/killuahzl/pyaria2

parses pyaria files for its own purposes, so you could steal code from there.

Laura

[toc] | [prev] | [next] | [standalone]


#92376

FromHongyi Zhao <hongyi.zhao@gmail.com>
Date2015-06-09 23:29 +0000
Message-ID<ml7st6$aog$4@aspen.stu.neva.ru>
In reply to#92372
On Wed, 10 Jun 2015 00:58:41 +0200, Laura Creighton wrote:

> No promises -- I never used this myself, but it looks like:
> 
> https://github.com/killuahzl/pyaria2
> 
> parses pyaria files for its own purposes, so you could steal code from
> there.
> 
> Laura

Thanks, but it doesn't do the same thing that I want.

Regards
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

[toc] | [prev] | [next] | [standalone]


#92379

FromHongyi Zhao <hongyi.zhao@gmail.com>
Date2015-06-09 23:45 +0000
Message-ID<ml7tqv$aog$6@aspen.stu.neva.ru>
In reply to#92376
On Tue, 09 Jun 2015 23:29:43 +0000, Hongyi Zhao wrote:

> On Wed, 10 Jun 2015 00:58:41 +0200, Laura Creighton wrote:
> 
>> No promises -- I never used this myself, but it looks like:
>> 
>> https://github.com/killuahzl/pyaria2
>> 
>> parses pyaria files for its own purposes, so you could steal code from
>> there.
>> 
>> Laura
> 
> Thanks, but it doesn't do the same thing that I want.
> 
> Regards

Thanks again, based on your hints, I do a further search on the github.  
And meet the following one:

https://github.com/atmouse-/aria2-trunc/blob/master/aria2_cutfile.py

It seems this one is just do the things that I want. I'll read it further 
for confirmation.

Regards
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web