0
A
回答
1
混戰,但它的作品...
tell application "Safari"
make new document with properties {URL:"http://www.google.com/search?q=define%3Acat"}
set theDocument to document 1
set theSource to source of theDocument -- result: source code for the page.
end tell
注意,搜索詞可以分隔符%3A
後上漲到年底。從那裏,你將不得不從頁面上刮取你想要的東西,但即使是最好的語言也是如此。
相關問題
- 1. Angular2(rc2)的內容現在可以通過Google索引嗎?
- 2. Google Apps:我可以通過Google管理API添加網域別名嗎?
- 3. c#程序可以通過Google調用Google+ API和自定義搜索API
- 4. 通過Google plus或Google登錄
- 5. 通過Google腳本退出Google表格
- 6. 通過Google Calendar API抓取Google任務?
- 7. 通過Google的API共享Google日曆
- 8. 我可以通過命令在Google TV中觸發畫中畫(畫中畫)嗎?
- 9. 可以在Google App Script中使用Google Spreadsheet功能嗎?
- 10. 是否可以通過API創建Google Drive演示文稿?
- 11. 是否可以通過API關聯現有的Google AdWords帳戶?
- 12. 可以通過編程方式更新Google Play服務?
- 13. 是否可以通過Google Drive API公開共享文件
- 14. 哪些API可以通過Google API for PHP訪問?
- 15. 是否可以通過Google帳戶登錄到Azure AD?
- 16. 我可以通過GE插件添加/切換Google地圖嗎?
- 17. 是否可以通過Google API獲取本地商業結果?
- 18. 如何讓某些表格可以通過Google進行搜索?
- 19. 我可以通過表格URL執行Google App腳本嗎?
- 20. 我可以通過編程檢查Google BigQuery查詢成本嗎?
- 21. Google Maps API可以通過Java,Python或Ruby訪問嗎?
- 22. 可以在winRT中添加google admob嗎?
- 23. 在Google Apps腳本中,可能通過使用approval_prompt
- 24. 我可以通過kml在Google地球中添加自定義圖層嗎?
- 25. 是否可以通過在django-nonrel/Google App Engine中的主鍵獲取對象?
- 26. 通過Ajax加載Google Visualization
- 27. 通過Google ...這是什麼?
- 28. 通過PHP的Google Spreadsheet API
- 29. 通過Nativescript使用Google Cloud
- 30. 通過Google Apps登錄
噢好吧。出於某種原因,它並沒有給我正確的來源。它在源文件中說,該頁面被禁止。奇怪的。當我捲曲它也會發生。有任何想法嗎? – objectiveccoder001 2010-10-20 13:52:35
@Elijah W.,這對我來說非常合適。你嘗試過這個簡單的例子嗎? – 2010-11-07 23:49:31