huginn / huginn

Create agents that monitor and act on your behalf. Your agents are standing by!
MIT License
43.61k stars 3.78k forks source link

[Paid request for help]有偿请求帮助:写一个FT网页监测配置(抓取、翻译、推送) #3019

Open ZJahon opened 3 years ago

ZJahon commented 3 years ago

1.抓取新闻标题、摘要、链接;(已实现) 2.翻译标题、摘要;(通过百度翻译api,用post agent获取response)(涉及到MD5加密[已通过js实现]、url解码[未实现])(已实现翻译的post agent,但未完美实现event的传输) 3.将翻译后的标题、翻译后的摘要、链接、消息来源(金融时报){多网站爬取后便于区分用},通过post agent 推送到微信上(已实现) 关键词:标题(title)、摘要(description)、链接(url)、消息来源(come_from)。

有偿服务,如果你能够帮助实现,请联系我email:6638148@qq.com

Ask for help:Write an FT web monitoring configuration (including grab translation push).

  1. Grab news headlines, abstracts, and links; (implemented)

  2. Translate the title and abstract; (get the response with post agent through Baidu translation api) (involving MD5 encryption [implemented through js], url decoding [unimplemented]) (post agent that has implemented translation, but not perfectly implemented event transmission)

  3. Push the translated title, translated abstract, link, and source (Financial Times) {easy to distinguish after crawling from multiple websites} to WeChat through the post agent (implemented)

Keywords: title (title), abstract (description), link (url), source (come_from).

Paid service, if you can help to achieve, please contact me at 6638148@qq.com

ljluestc commented 1 year ago
  1. Web Monitoring Configuration: Set up a web scraping solution (using libraries like BeautifulSoup or Scrapy in Python) to grab news headlines, abstracts, and links from the target websites.

  2. Translation with Baidu API: Use the Baidu Translation API to translate titles and abstracts. You'll need to send a POST request with the necessary parameters to the API. Ensure you handle MD5 encryption and URL decoding as required.

  3. Event Transmission: For event transmission, you'll need to handle communication between your web scraping code and the translation/posting agents. This could involve using event-driven programming or frameworks like Celery for task distribution.

  4. Pushing to WeChat with Post Agent: Use the Post Agent to push the translated content, including translated title, abstract, link, and source, to WeChat. You can format the content appropriately for WeChat messages.

For a more personalized solution and accurate quotes, I recommend reaching out to professional software development services or freelance developers who can understand your specific requirements and provide custom solutions. They can also assess the complexity of the project and give you an estimate based on their expertise and the amount of work involved. You can find such developers on freelancing platforms or by seeking recommendations from your network.