편집 기록

편집 기록
  • 프로필 정영훈님의 편집
    날짜2018.11.08

    파이썬 코딩 오류 확인 부탁드립니다.


    안녕하세요.

    아래는 코드입니다.

    html=driver.page_source
    soup=bs(html, "html.parser")
    # print(soup)
    
    # #popclient > table:nth-child(16) > tbody > tr > td:nth-child(6) > table:nth-child(9) nth-of-type
    title_table=soup.select("#popclient table:nth-of-type(16) tbody tr td:nth-of-type(6) table:nth-of-type(9)")
    

    html.parser를 진행한 soup에 위와같은 셀렉트로 테이블을 들고 오려고 했는데 결과 값이 []으로 나오고 있습니다.

    어디가 문제인지 고수님들 확인 부탁드립니다.

  • 프로필 알 수 없는 사용자님의 편집
    날짜2018.11.08

    파이썬 코딩 오류 확인 부탁드립니다.


    안녕하세요.

    아래는 코드입니다.

    html=driver.page_source soup=bs(html, "html.parser")

    print(soup)

    #popclient > table:nth-child(16) > tbody > tr > td:nth-child(6) > table:nth-child(9) nth-of-type

    title_table=soup.select("#popclient table:nth-of-type(16) tbody tr td:nth-of-type(6) table:nth-of-type(9)")

    html.parser를 진행한 soup에 위와같은 셀렉트로 테이블을 들고 오려고 했는데 결과 값이 []으로 나오고 있습니다.

    어디가 문제인지 고수님들 확인 부탁드립니다.