Giter VIP home page Giter VIP logo

scrapy_manga's People

Contributors

andregirao05 avatar gotneb avatar

Watchers

 avatar

scrapy_manga's Issues

[core][readm] função `manga_detail` retorna objeto vazio

Problema:
O readm, para alguns poucos mangas (One Piece, um deles), obriga que o usuário esteja logado para que ele possa ler o mangá. Caso não esteja, ela retorna uma página sem os capítulos (ver imagem).

Considerações:
Eu ja tenho uma solução para esse problema, vou implementar no final de semana.

Screenshot from 2023-06-14 14-59-43

Erro atualizando o DB do 'manga_livre' no modo multithread

Origem:
branch: core

Problema:
Executando essa função:

def update_database():
    db = MangaDatabase()
    if db.connect(getenv("MONGO_URI")):
        mangaLivreHandler = MangaLivreHandler(db)
        mangaLivreHandler.start()
        mangaLivreHandler.join()

        db.close()

Explicação:
Internamente o Selenium cria arquivos temporários, porém em multithread acontece dele ler e escrever sobre o mesmo arquivo, gerando esse erro:

Screenshot from 2023-05-16 23-11-40

Esse é um problema no core.
E por enquanto a "solução" é não usar multithread, mas vou me concentrar em resolver isso.

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.