@@ -16,7 +16,7 @@ public static TorrentClient GetClient(string name)
1616 client . HttpProtocol = "HTTP/1.1" ;
1717 client . HashUpperCase = true ;
1818 client . Key = GenerateIdString ( "numeric" , 5 , false , false ) ;
19- client . Headers = "Host: {host}\r \n Connection: close\r \n Accpet : */*\r \n Accept-Encoding: gzip\r \n User-Agent: BitComet/1.20.3.25\r \n Pragma: no-cache\r \n Cache-Control: no-cache\r \n " ;
19+ client . Headers = "Host: {host}\r \n Connection: close\r \n Accept : */*\r \n Accept-Encoding: gzip\r \n User-Agent: BitComet/1.20.3.25\r \n Pragma: no-cache\r \n Cache-Control: no-cache\r \n " ;
2020 client . PeerID = "-BC0120-" + GenerateIdString ( "random" , 12 , true , true ) ;
2121 client . Query = "info_hash={infohash}&peer_id={peerid}&port={port}&natmapped=1&localip={localip}&port_type=wan&uploaded={uploaded}&downloaded={downloaded}&left={left}&numwant={numwant}&compact=1&no_peer_id=1&key={key}{event}" ;
2222 client . DefNumWant = 200 ;
@@ -34,7 +34,7 @@ public static TorrentClient GetClient(string name)
3434 client . HttpProtocol = "HTTP/1.1" ;
3535 client . HashUpperCase = true ;
3636 client . Key = GenerateIdString ( "numeric" , 5 , false , false ) ;
37- client . Headers = "Host: {host}\r \n Connection: close\r \n Accpet : */*\r \n Accept-Encoding: gzip\r \n User-Agent: BitComet/1.3.7.17\r \n Pragma: no-cache\r \n Cache-Control: no-cache\r \n " ;
37+ client . Headers = "Host: {host}\r \n Connection: close\r \n Accept : */*\r \n Accept-Encoding: gzip\r \n User-Agent: BitComet/1.3.7.17\r \n Pragma: no-cache\r \n Cache-Control: no-cache\r \n " ;
3838 client . PeerID = "-BC0103-" + GenerateIdString ( "random" , 12 , true , true ) ;
3939 client . Query = "info_hash={infohash}&peer_id={peerid}&port={port}&natmapped=1&localip={localip}&port_type=wan&uploaded={uploaded}&downloaded={downloaded}&left={left}&numwant={numwant}&compact=1&no_peer_id=1&key={key}{event}" ;
4040 client . DefNumWant = 200 ;
0 commit comments