Giter VIP home page Giter VIP logo

docker-tiebasign's People

Contributors

benzbrake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ainiomaomao

docker-tiebasign's Issues

运行报错

错误代码arm32

Traceback (most recent call last):
  File "/tiebaSign.py", line 90, in <module>
    schedule.run_pending()
  File "/usr/lib/python3.8/site-packages/schedule/__init__.py", line 592, in run_pending
    default_scheduler.run_pending()
  File "/usr/lib/python3.8/site-packages/schedule/__init__.py", line 94, in run_pending
    self._run_job(job)
  File "/usr/lib/python3.8/site-packages/schedule/__init__.py", line 147, in _run_job
    ret = job.run()
  File "/usr/lib/python3.8/site-packages/schedule/__init__.py", line 491, in run
    ret = self.job_func()
  File "/tiebaSign.py", line 76, in app
    tb = tieba()
  File "/tiebaSign.py", line 25, in __init__
    self.get_list()
  File "/tiebaSign.py", line 34, in get_list
    rul = re.findall(r'forumArr":(\[.+?), "ihome"', r.text)[0]
IndexError: list index out of range

希望增加一点点容错率

最好设置一个方法可以每隔几个小时签到一次

防止由于网络问题引起的无法签到
或者无法签到全的问题

虽然创造多个容器可以解决问题 但是总归是多余的内存资源浪费不是么。。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.