diff --git a/.gitignore b/.gitignore index 4ed417e..e837ca8 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,4 @@ logs/ .Trashes ehthumbs.db Thumbs.db +_tmp/ \ No newline at end of file diff --git a/app-ollama.py b/app-ollama.py index 164fc42..c490827 100644 --- a/app-ollama.py +++ b/app-ollama.py @@ -24,16 +24,28 @@ graph_config = { # "headless": False, } -# smart_scraper_graph = SmartScraperGraph( -# # prompt="List all article titles on the page", -# prompt="列出页面上的所有文章标题", -# source="https://www.aivi.fyi/", -# config=graph_config -# ) + +# ############################# +prompt="List all article titles on the page" +prompt="列出页面上的所有文章标题" +source="https://www.aivi.fyi/" + +# ############################# +prompt="List all Stations on the page." +source="https://network.satnogs.org/stations/" + +# ############################# +# prompt="列出页面上的所有站点。" +prompt="列出页面上的所有站点以及站点信息" +# prompt="列出页面上的所有站点以及站点信息。antennas需要是一个数组。" +source="" +with open('source/satnogs.html', 'r', encoding='utf-8') as file: + source = file.read() + smart_scraper_graph = SmartScraperGraph( - prompt="List all Stations on the page. the data is in tbody", - source="https://network.satnogs.org/stations/", + prompt=prompt, + source=source, config=graph_config ) diff --git a/source/satnogs.html b/source/satnogs.html new file mode 100644 index 0000000..39f533a --- /dev/null +++ b/source/satnogs.html @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IDNameLocationTotalFutureAntennasOwner
+ + + 2 + + + + KB9JHU + + + + + EM69uf + + @280m + + + + 65779 + + + + 0 + + + + + Cross Yagi (UHF) + + + + Cross Yagi (VHF) + + + + + + Corey Shields + + +
+ + + 6 + + + + Apomahon + + + + + KM18ub + + @104m + + + + 353519 + + + + 147 + + + + + Patch (UHF) + + + + + + Dimitris Papadeas + + +
+ + + 34 + + + + M0SZT + + + + + IO82vx + + @100m + + + + 4635 + + + + 0 + + + + + Quadrafilar (VHF) + + + + + + Carl Plant + + +
\ No newline at end of file