V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
omg21
V2EX  ›  Python

在有计数器的首页,为什么用 Python 连接的时候不计数?

  •  
  •   omg21 · 2016-10-26 23:31:13 +08:00 · 2263 次点击
    这是一个创建于 2740 天前的主题,其中的信息可能已经有所发展或是发生改变。
    计数器是可用的,在首页下方,http://www.weimailf.com/ ,我用 urllib.request 取得页面后,再用浏览器刷新看计算器只+1 ,应该是+2 啊
    5 条回复    2016-10-27 12:57:16 +08:00
    iyaozhen
        1
    iyaozhen  
       2016-10-26 23:43:10 +08:00 via Android
    js 计数的?
    imn1
        2
    imn1  
       2016-10-26 23:53:38 +08:00
    今日访问量:< script type="text/javascript" src="/inc/AspCms_aStatistics.asp?act=t">
    ericls
        3
    ericls  
       2016-10-26 23:58:19 +08:00
    dream7758521
        4
    dream7758521  
       2016-10-27 10:24:38 +08:00 via Android
    Python 不会解析 js 的
    twocucao
        5
    twocucao  
       2016-10-27 12:57:16 +08:00
    这代表服务器并不是以访问该页面的请求计数,而是以某个其他请求计数. 没有看具体网页,但是 @imn1 应该是对的.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3294 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 11:29 · PVG 19:29 · LAX 04:29 · JFK 07:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.