Coder Social home page Coder Social logo

Comments (7)

ruter avatar ruter commented on May 28, 2024

请问是什么情况下报错的?麻烦贴上详细的错误信息,这样才可以定位。

strip() 方法是字符串的方法,这里目前猜测是获取到的数据是一个列表,而非预期的字符串。

from xiachufang-api.

TrueRux avatar TrueRux commented on May 28, 2024

情况1:url为:http://192.168.2.129:5000/search/鸡蛋
情况2:url为:http://192.168.2.129:5000/category/394/
我也觉得应该返回的数组引发了这个错误。不过我第一次接触python,昨晚尝试着去调试python代码,但是没有成功。所以就想过来问问。麻烦了哈

from xiachufang-api.

ruter avatar ruter commented on May 28, 2024

已修复 #5
这个问题是因为下厨房的菜谱列表 DOM 结构发生变化导致的

from xiachufang-api.

TrueRux avatar TrueRux commented on May 28, 2024

谢谢

from xiachufang-api.

TrueRux avatar TrueRux commented on May 28, 2024

请问服务器可以配置https然后这个api吗?

from xiachufang-api.

ruter avatar ruter commented on May 28, 2024

@TrueRux 可以

from xiachufang-api.

TrueRux avatar TrueRux commented on May 28, 2024

请问是怎样更换端口的?例如我现在的5000端口被占用了,想要换成其它的端口。我尝试了一下在改变缓存方式那里更改端口,但是没有成功。

from xiachufang-api.

Related Issues (5)

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.