Coder Social home page Coder Social logo

katowproject / komikato_py Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 10.0 3.01 MB

python version with django

Home Page: https://komi.kato-rest.us/

Python 23.59% CSS 20.59% HTML 19.13% JavaScript 15.95% PHP 0.91% SCSS 19.83%
rest-api anime-scraper manga-scraper manga-reader anime-streaming komikindo manga-api otakudesu otakudesu-api

komikato_py's Issues

error

AttributeError at /komikindo/

'NoneType' object has no attribute 'find_all'
Request Method: GET
http://127.0.0.1:8000/komikindo/
4.0.4
AttributeError
'NoneType' object has no attribute 'find_all'
/home/kato/Komikato_py/controllers/komikindo.py, line 31, in home
/usr/bin/python3
3.10.6
['/home/kato/Komikato_py', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/kato/.local/lib/python3.10/site-packages', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages']
Mon, 26 Jun 2023 12:49:00 +0000

You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.

AttributeError at /komikindo/ 'NoneType' object has no attribute 'find_all' Request Method: GET Request URL: http://127.0.0.1:8000/komikindo/ Django Version: 4.0.4 Exception Type: AttributeError Exception Value: 'NoneType' object has no attribute 'find_all' Exception Location: /home/kato/Komikato_py/controllers/komikindo.py, line 31, in home Python Executable: /usr/bin/python3 Python Version: 3.10.6 Python Path: ['/home/kato/Komikato_py', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/kato/.local/lib/python3.10/site-packages', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages'] Server time: Mon, 26 Jun 2023 12:49:00 +0000 Traceback [Switch to copy-and-paste view](https://komi.katowproject.app/komikindo/#) /home/kato/.local/lib/python3.10/site-packages/django/core/handlers/exception.py, line 55, in inner response = get_response(request) … Local vars /home/kato/.local/lib/python3.10/site-packages/django/core/handlers/base.py, line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) … Local vars /home/kato/Komikato_py/routers/web/komikindo.py, line 7, in index mangas = komikindo.home(request) … Local vars /home/kato/Komikato_py/controllers/komikindo.py, line 31, in home mangas_menu = soup.find(id="menu-second-menu").find_all("li") … Local vars

ERROR https://localhost:3000/komikindo/komik/judulkomik

Internal Server Error: /komikindo/komik/king-mma/
Traceback (most recent call last):
File "/home/runner/komikatopy-5/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 56, in inner
response = get_response(request)
File "/home/runner/komikatopy-5/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/runner/komikatopy-5/routers/web/komikindo.py", line 28, in komik_detail
komik_detail = komikindo.komik_detail(request, endpoint)
File "/home/runner/komikatopy-5/controllers/komikindo.py", line 209, in komik_detail
obj["alter"] = manga.find(class
="spe").find_all("span")[0].text.split(": ")[1].split(", ")
IndexError: list index out of range
[13/Mar/2023 07:48:50] "GET /komikindo/komik/king-mma/ HTTP/1.1" 500 102779
Not Found: /favicon.ico
[13/Mar/2023 07:48:51] "GET /favicon.ico HTTP/1.1" 404 3397

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.