#1012: Add gzip encoding support to httpdownloader
-----------------------------------------+----------------------------------
 Reporter:  johnnyg                      |       Owner:  johnnyg  
     Type:  feature-request              |      Status:  new      
 Priority:  minor                        |   Milestone:  1.2.0    
Component:  core                         |     Version:  1.2.0_dev
 Keywords:  gzip http encoding decoding  |  
-----------------------------------------+----------------------------------

Comment(by Nezmer):

 I'm not a programmer but I googled urllib and compression .

 If I run this and save the output in a file , It works :
 {{{
 #!/usr/bin/env python
 import urllib
 
urllib.urlretrieve("http://torrage.com/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent";
 , "4.torrent")
 import gzip
 f = gzip.open("4.torrent")
 unc = f.read()
 print (unc)
 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1012#comment:1>
Deluge <http://deluge-torrent.org/>
Deluge project

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to