Coder Social home page Coder Social logo

Comments (1)

CT-1326 avatar CT-1326 commented on June 26, 2024
                    'title': $(
                        '#menu4101_obj256 > div._fnctWrap > form:nth-child(2) > div > table > tbody > t' +
                        'r:nth-child(' + index + ') > td.td-subject'
                    )
                        .text()
                        .trim(), // 게시물 제목 DOM selector

해당 소스 구간에 selector를 td태그로 잡아가지고 새글 이라는 불필요한 글자까지 같이 크롤링 되는 현상을 확인

따라서 strong 태그로 타겟을 변경하여 글자만을 추출하게 수정 및 커밋을 함

나머지 본인이 작성하였던 크롤링 소스들도 해당 변경사항으로 적용 바람

from comgongbot.

Related Issues (20)

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.