>  Q&A  >  본문

초보자 - Python 크롤러 문제 도움말

문제 설명: ValueError: 인덱스 21에서 지원되지 않는 형식 문자 'j'(0x6a)
즉, 하단에서 6번째 줄입니다.jpg j에 무슨 문제가 있나요? ? ?
import urllib.request
from bs4 import BeautifulSoup
def get_content(url):

으아아아

def get_image(정보):

으아아아

url = "https://tieba.baidu.com/p/2218566379"
info = get_content(url)
print(info)
get_image(info)

phpcn_u1582phpcn_u15822636일 전845

모든 응답(1)나는 대답할 것이다

  • 迷茫

    迷茫2017-07-05 10:37:09

    은 s%%s이 아니라

    입니다.

    회신하다
    0
  • 취소회신하다