我做错了以下的AppleScript没有:
从.txt文件加载搜索关键字
从构建的网址获取链接:将网址设置为“https://teespring.com/search?q=”& “来自”.txt文件
从这些构建的网址返回所有链接。
P.S。仅在纯卷曲中是否可以获取URL和href过滤?
-
Attendance::whereMonth('created_at', date('m'))
->whereYear('created_at', date('Y'))->get();
谢谢大家
丹尼尔
答案 0 :(得分:0)
找到了解决方案:
tell application "Finder"
set myPath to container of (path to me) as text
set theKeywords to read file (myPath & "KEYWORDS.txt") as «class utf8» using delimiter linefeed
end tell
set keyword_urls to "https://teespring.com/search?q="
set listCount to count of theKeywords
set site_url to {}
repeat with i from 1 to listCount
set end of site_url to keyword_urls & item i of theKeywords
end repeat