dajibaggganni 发表于 2020-8-2 16:01:18

感谢分享

dajibaggganni 发表于 2020-8-2 16:01:40

感谢分享!!!

ddpigco 发表于 2020-8-2 16:24:31

ganegpoisjh[sfg[psrjtyoiwrths

强大的 发表于 2020-8-2 16:26:32


临时工123 发表于 2020-8-2 16:34:26

感谢分享:lol

ljjjh 发表于 2020-8-2 16:34:57

多谢分享

yuekai005 发表于 2020-8-2 20:10:55


多谢分享

awdawaa233 发表于 2020-8-2 23:03:06

666666666666666666666666666666666666666666666666

yiyobo7667@coal 发表于 2020-8-3 12:54:36

需要源码

强大的 发表于 2020-8-3 15:31:23

yiyobo7667@coal 发表于 2020-8-3 12:54
需要源码

import time
import aiohttp
import asyncio
from lxml import etree
from rname import mutiname ,namerow

async def resiger(name):
    async with aiohttp.ClientSession() as session:

      url='http://8.2452.xyz/auth/register'
      data={'email':'[email protected]','name':'qmmju','passwd':'qweasd123','repasswd':'qweasd123','code':'0'}


      data['email']=name+'@qq.com'
      await session.post(url,data=data)

      del data['repasswd']
      del data['name']
      data['code']=''
      print(data)
      #html=etree.HTML(res.text)
      url='http://8.2452.xyz/auth/login'
      await session.post(url,data=data)




      url='http://8.2452.xyz/user/node'

      async with session.get(url) as res:
            res=await res.read()

      html=etree.HTML(res)
      #v1=html.xpath('//*[@id="node-modal-3"]/div/div/div/div/code/text()')
      #v2=html.xpath('//*[@id="node-modal-8"]/div/div/div/div/code/text()')
      v2=html.xpath('//*[@id]/div/div/div/div/code/text()')

      with open('vemss.txt','a+',encoding='utf-8')as f:
            #f.write(v1)
            #f.write('\n')
            f.write(v2)
            f.write('\n')


async def main():
    t1=time.time()
    ls=

    await asyncio.gather(*ls)
    t=time.time()-t1
    print(t)
if __name__=='__main__':
    asyncio.run(main())
页: 1 [2] 3
查看完整版本: 10个恐怖韩国节点速度快