步骤索引
爬取网址 :https://eth.btc.com/home
首页(输入代币代号)
数据页(点击翻页按钮测试请求:F12-Headers-Response)
获取到Header URL
Request URL:
https://explorer-web.api.btc.com/v1/eth/tokentxns/0x4f878c0852722b0976a955d68b376e4cd4ae99e5?page=2&size=10
Request Method: GET Status Code: 200 Remote Address:
18.141.83.207:443 Referrer Policy: no-referrer-when-downgrade
获取到Response并分析格式
Out[164]: {‘err_no’: 0, ‘data’: {‘page’: 1, ‘pagesize’: 10,
‘total_count’: 113881, ‘list’: [
{‘id’: 1,
‘tx_hash’: ‘0xa7c1873e0b070614f107e73ffaece6e66df8029267326c05b4366068cb896fdd’,
‘block_height’: 10443343,
‘created_ts’: 1594538711,
‘time_in_sec’: 1569898,
‘sender_hash’: ‘0xd81133299dc33329ab6cdf93434662dd0ae21810’,
‘receiver_hash’: ‘0x2317e431b3766abd24e770ba81c503371f4e5a8b’,
‘amount’: ‘1000000000’,
‘token_hash’: ‘0x4f878c0852722b0976a955d68b376e4cd4ae99e5’,
‘token_name’: ‘WaykiChain’,
‘token_decimal’: 8,
‘unit_name’: ‘WICC’,
‘sender_name’: ‘’,
‘receiver_name’: ‘’,
‘token_url’: None,
‘token_icon_url’: None,
‘token_found’: True},
{‘id’: 2,
‘tx_hash’: ‘0xe80e0048134155af74916e3e31054a783be3ba8cf6ea7a3b8fe6d8df2f53ed93’,
‘block_height’: 10366778,
‘created_ts’: 1593515753,
‘time_in_sec’: 2592856,
‘sender_hash’: ‘0xfdaccb5ecd9ddaf3ec2d7a49bc19ef0b21217760’,
‘receiver_hash’: ‘0xa15768d846b631154d2394a17e42eaefae26eaf3’,
‘amount’: ‘100000000000’,
‘token_hash’: ‘0x4f878c0852722b0976a955d68b376e4cd4ae99e5’,
‘token_name’: ‘WaykiChain’,
‘token_decimal’: 8,
‘unit_name’: ‘WICC’,
‘sender_name’: ‘’,
‘receiver_name’: ‘’,
‘token_url’: None,
‘token_icon_url’:
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论