Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/342.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python请求从Android设备管理器中删除https://www.google.com/android/devicemanager_Python_Python 3.x_Web Scraping_Google Plus_Google Latitude - Fatal编程技术网

Python请求从Android设备管理器中删除https://www.google.com/android/devicemanager

Python请求从Android设备管理器中删除https://www.google.com/android/devicemanager,python,python-3.x,web-scraping,google-plus,google-latitude,Python,Python 3.x,Web Scraping,Google Plus,Google Latitude,有一点关于Python的线索,我正试图从中获取位置数据。我试图以与苹果设备相同的方式显示来自Android设备的JSON位置提要 现在是公关。我只得到了一个简单的答案: import time, requests r = requests.get('https://www.google.com/android/devicemanager', auth=(GoogleUsername, GooglePassword )) f = open('dump.html', 'w+') tmst = ti

有一点关于Python的线索,我正试图从中获取位置数据。我试图以与苹果设备相同的方式显示来自Android设备的JSON位置提要

现在是公关。我只得到了一个简单的答案:

import time, requests
r = requests.get('https://www.google.com/android/devicemanager', auth=(GoogleUsername, GooglePassword ))

f = open('dump.html', 'w+')
tmst = time.strftime('%H:%M:%S')
f.write(tmst + '<br>')
f.write(r.text)
f.close
导入时间、请求
r=请求。获取('https://www.google.com/android/devicemanager,auth=(谷歌用户名,谷歌密码))
f=open('dump.html','w+'))
tmst=time.strftime(“%H:%M:%S”)
f、 写入(tmst+“
”) f、 书写(r.text) f、 接近
给我登录屏幕。有人吗



我的目的是从我的android设备上获取实时位置数据,而无需在设备上安装任何应用程序或类似程序。只需从Android设备管理器中抓取数据,或者通过?

您的身份验证方法可能不受支持。谷歌的使用条款可能不允许您尝试这样做。