Automator 워크 플로에서 URL 목록을 "Run AppleScript"로 전달하고 각 페이지의 내용을 가져 와서 연결하고 BBedit (또는 다른 텍스트 편집기).AppleScript cURL 및 구문 분석 URL
on run {input, parameters}
tell application "BBEdit"
activate
set astid to AppleScript's text item delimiters
set startHere to "<tbody>"
set stopHere to "</tbody>"
repeat with anItem in input
set blurb0 to (do shell script "curl " & anItem)
set AppleScript's text item delimiters to startHere
set blurb1 to text item 2 of blurb0
set AppleScript's text item delimiters to stopHere
set blurb2 to text item 1 of blurb1
set AppleScript's text item delimiters to astid
return blurb2
beep
end repeat
end tell
end run
현재 코드는 첫 번째 URL의 내용 만 올바르게 수신합니다. 아무도이 문제를 해결할 수 있습니까?