Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add router for 12379.cn(国家突发事件预警信息发布网) #18209

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

PrinOrange
Copy link
Contributor

Involved Issue / 该 PR 相关 Issue

Close #

Example for the Proposed Route(s) / 路由地址示例

/12379/alert/重庆,沙坪坝
/12379/alert/广州,荔湾
/12379/alert/河南,郑州,金水

New RSS Route Checklist / 新 RSS 路由检查表

  • New Route / 新的路由
  • [] Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • Parsed / 可以解析
    • Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

@github-actions github-actions bot added the Route label Jan 24, 2025
@github-actions github-actions bot added the Auto: Route Test Complete Auto route test has finished on given PR label Jan 24, 2025
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/12379/alert/重庆,沙坪坝 - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>国家突发事件预警信息发布</title>
    <link>http://www.12379.cn/data/alarm_list_all.html</link>
    <atom:link href="http://localhost:1200/12379/alert/%E9%87%8D%E5%BA%86,%E6%B2%99%E5%9D%AA%E5%9D%9D" rel="self" type="application/rss+xml"></atom:link>
    <description>国家突发事件预警信息实时发布 - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>zh-CN</language>
    <image>
      <url>http://www.12379.cn/html/new2018/img/logo.png</url>
      <title>国家突发事件预警信息发布</title>
      <link>http://www.12379.cn/data/alarm_list_all.html</link>
    </image>
    <lastBuildDate>Fri, 24 Jan 2025 13:39:12 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>中央气象台发布大雾黄色预警III级/较重</title>
      <description>&lt;p&gt;中央气象台1月24日18时发布大雾黄色预警:预计,24日夜间至25日上午,琼州海峡、雷州半岛沿岸海域、广西沿岸海域海域将有能见度不足1公里的大雾,其中琼州海峡中东部海域将有能见度不足500米的浓雾。此外,24日夜间至25日早晨,山东北部、河北东南部、河南中北部、陕西中部、甘肃东部、重庆中西部、四川盆地东南部、贵州北部、湖南东部等地的部分地区有大雾,局地有能见度不足200米的强浓雾。防御指南:1、由于陆地能见度较低,驾驶人员应控制速度,确保安全。2、机场、高速公路、轮渡码头采取措施,保障交通安全。3、航行、作业的船舶应加强瞭望,控制航速,保持航行安全距离,谨慎驾驶,确保航行安全。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 00000041600000_20250124170426&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 18:06:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=00000041600000_20250124170426.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=00000041600000_20250124170426.html</guid>
      <pubDate>Fri, 24 Jan 2025 10:06:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>铜梁区气象台发布大雾黄色预警[Ⅲ级/较重]</title>
      <description>&lt;p&gt;重庆市铜梁区气象台2025年1月24日17时30分发布大雾黄色预警信号:预计1月24日19:00-25日10:00,我区巴川街道、东城街道、南城街道、蒲吕街道、旧县街道、维新镇、高楼镇、安居镇、白羊镇、水口镇、二坪镇、西河镇、永嘉镇、安溪镇、双山镇、小林镇、平滩镇等大部镇街可能出现能见度小于500米的雾,局地能见度小于200米,请注意防范。防御指南:1.车辆驾驶及户外活动注意安全。2.机场、高速公路、水上交通等单位加强交通管理。3.相关各级部门按照职责,做好大雾防范应对工作。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 50022441600000_20250124174103&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 17:43:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50022441600000_20250124174103.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50022441600000_20250124174103.html</guid>
      <pubDate>Fri, 24 Jan 2025 09:43:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>重庆市气象台解除渝中区大雾橙色预警[Ⅱ级/严重]</title>
      <description>&lt;p&gt;重庆市气象台于2025年1月24日12时00分解除菜园坝、大坪、两路口、上清寺、大溪沟、南纪门、七星岗、解放碑、化龙桥、朝天门、石油路等11个街道的“大雾橙色预警信号”。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 50010341600000_20250124125418&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 12:57:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50010341600000_20250124125418.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50010341600000_20250124125418.html</guid>
      <pubDate>Fri, 24 Jan 2025 04:57:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>重庆市气象台解除南岸区大雾橙色预警[Ⅱ级/严重]</title>
      <description>&lt;p&gt;重庆市气象台于2025年1月24日12时00分解除南山、长生桥、迎龙、弹子石、峡口、鸡冠石、铜元局、南坪街道、花园路、广阳、南坪镇、涂山、海棠溪、天文、龙门浩等15个镇街的“大雾橙色预警信号”。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 50010841600000_20250124125211&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 12:54:02&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50010841600000_20250124125211.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50010841600000_20250124125211.html</guid>
      <pubDate>Fri, 24 Jan 2025 04:54:02 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>重庆市气象台解除两江新区大雾橙色预警[Ⅱ级/严重]</title>
      <description>&lt;p&gt;重庆市气象台于2025年1月24日12时00分解除礼嘉、鸳鸯、翠云、天宫殿、人和、大竹林、康美、金山等8个街道的“大雾橙色预警信号”。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 50019841600000_20250124124927&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 12:51:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50019841600000_20250124124927.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50019841600000_20250124124927.html</guid>
      <pubDate>Fri, 24 Jan 2025 04:51:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>重庆市气象台解除九龙坡区大雾橙色预警[Ⅱ级/严重]</title>
      <description>&lt;p&gt;重庆市气象台于2025年1月24日12时00分解除黄桷坪、杨家坪、西彭、铜罐驿、陶家、华岩、中梁山、谢家湾、九龙、二郎、石桥铺、渝州路、石坪桥等13个镇街的“大雾橙色预警信号”。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 50010741600000_20250124124802&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 12:49:02&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50010741600000_20250124124802.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50010741600000_20250124124802.html</guid>
      <pubDate>Fri, 24 Jan 2025 04:49:02 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>重庆市气象台解除江北区大雾橙色预警[Ⅱ级/严重]</title>
      <description>&lt;p&gt;重庆市气象台于2025年1月24日12时00分解除石马河、大石坝、观音桥、华新街、五里店、江北城、寸滩、铁山坪、郭家沱、鱼嘴、复盛、五宝等12个镇街的“大雾橙色预警信号”。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 50010541600000_20250124124613&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 12:48:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50010541600000_20250124124613.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50010541600000_20250124124613.html</guid>
      <pubDate>Fri, 24 Jan 2025 04:48:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>重庆市气象台解除高新区大雾橙色预警[Ⅱ级/严重]</title>
      <description>&lt;p&gt;重庆市气象台于2025年1月24日12时00分解除石板、巴福、走马、白市驿、金凤、含谷、香炉山、西永、曾家、虎溪等10个镇街的“大雾橙色预警信号”。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 50019741600000_20250124124420&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 12:47:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50019741600000_20250124124420.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50019741600000_20250124124420.html</guid>
      <pubDate>Fri, 24 Jan 2025 04:47:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>重庆市气象台解除大渡口区大雾橙色预警[Ⅱ级/严重]</title>
      <description>&lt;p&gt;重庆市气象台于2025年1月24日12时00分解除跳磴、新山村、跃进村、茄子溪、八桥、春晖路、九宫庙、建胜等8个镇街的“大雾橙色预警信号”。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 50010441600000_20250124124224&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 12:45:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50010441600000_20250124124224.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50010441600000_20250124124224.html</guid>
      <pubDate>Fri, 24 Jan 2025 04:45:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>重庆市气象台解除大雾橙色预警[Ⅱ级/严重]</title>
      <description>&lt;p&gt;重庆市气象台于2025年1月24日12时00分解除渝中、沙坪坝、大渡口、江北、九龙坡、南岸、两江新区、高新区、渝北、北碚、巴南、潼南、合川、大足、铜梁、璧山、荣昌、永川、江津、綦江、万盛经开区、南川、涪陵、巫溪、武隆、彭水等26个区县的“大雾橙色预警信号”。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 50000041600000_20250124123958&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 12:42:02&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50000041600000_20250124123958.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50000041600000_20250124123958.html</guid>
      <pubDate>Fri, 24 Jan 2025 04:42:02 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>铜梁区气象台解除大雾黄色预警[Ⅲ级/较重]</title>
      <description>&lt;p&gt;重庆市铜梁区气象台于2025年1月24日11时10分解除2025年1月23日20时40分发布的“大雾黄色预警信号”。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 50022441600000_20250124111358&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 11:16:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50022441600000_20250124111358.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=50022441600000_20250124111358.html</guid>
      <pubDate>Fri, 24 Jan 2025 03:16:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>习水县气象台发布大雾黄色预警[Ⅲ/较重]</title>
      <description>&lt;p&gt;习水县气象台1月23日22时20分继续发布大雾黄色预警信号:目前我县遵赤高速(马临—土城)、江习古高速(寨坝—重庆、黄木坪—良村)、正习高速(仙源—桐梓)以及高山乡镇部分路段已出现能见度小于500米的大雾天气,对行车安全有一定影响,预计未来12小时将持续,请注意防范。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 52033041600000_20250123222014&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-23 22:23:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=52033041600000_20250123222014.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=52033041600000_20250123222014.html</guid>
      <pubDate>Thu, 23 Jan 2025 14:23:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
  </channel>
</rss>
http://localhost:1200/12379/alert/广州,荔湾 - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>国家突发事件预警信息发布</title>
    <link>http://www.12379.cn/data/alarm_list_all.html</link>
    <atom:link href="http://localhost:1200/12379/alert/%E5%B9%BF%E5%B7%9E,%E8%8D%94%E6%B9%BE" rel="self" type="application/rss+xml"></atom:link>
    <description>国家突发事件预警信息实时发布 - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>zh-CN</language>
    <image>
      <url>http://www.12379.cn/html/new2018/img/logo.png</url>
      <title>国家突发事件预警信息发布</title>
      <link>http://www.12379.cn/data/alarm_list_all.html</link>
    </image>
    <lastBuildDate>Fri, 24 Jan 2025 13:39:12 GMT</lastBuildDate>
    <ttl>5</ttl>
  </channel>
</rss>
http://localhost:1200/12379/alert/河南,郑州,金水 - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>国家突发事件预警信息发布</title>
    <link>http://www.12379.cn/data/alarm_list_all.html</link>
    <atom:link href="http://localhost:1200/12379/alert/%E6%B2%B3%E5%8D%97,%E9%83%91%E5%B7%9E,%E9%87%91%E6%B0%B4" rel="self" type="application/rss+xml"></atom:link>
    <description>国家突发事件预警信息实时发布 - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>zh-CN</language>
    <image>
      <url>http://www.12379.cn/html/new2018/img/logo.png</url>
      <title>国家突发事件预警信息发布</title>
      <link>http://www.12379.cn/data/alarm_list_all.html</link>
    </image>
    <lastBuildDate>Fri, 24 Jan 2025 13:39:12 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>河南蒙古族自治县气象台发布暴雪蓝色预警信号[IV/一般]</title>
      <description>&lt;p&gt;河南蒙古族自治县气象台2025年01月24日21时30分发布暴雪蓝色预警信号:预计01月24日21时30分至25日09时30分优干宁镇、托叶玛乡将出现大雪到暴雪,请有关单位和人员做好防范准备。防御指南:1.政府及有关部门按照职责做好防暴雪和防冻害准备工作;2.有关部门进行道路、电力设施巡查维护,做好道路清扫和积雪融化工作;3.行人注意防寒防滑,驾驶人员小心驾驶,车辆采取防滑措施;4.有关单位和人员储备饲料,做好防暴雪和防冻害准备。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 63232441600000_20250124213000&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 21:37:03&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=63232441600000_20250124213000.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=63232441600000_20250124213000.html</guid>
      <pubDate>Fri, 24 Jan 2025 13:37:03 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>中央气象台继续发布暴雪黄色预警III级/较重</title>
      <description>&lt;p&gt;中央气象台1月24日18时继续发布暴雪黄色预警:预计1月24日20时至1月25日20时,内蒙古河套地区、甘肃东部、宁夏大部、陕西大部、山西西部和南部、河南西部、湖北西北部、川西高原北部等地部分地区有大到暴雪,其中,陕西中南部、河南西部等地局地有大暴雪(20~24毫米)。上述地区新增积雪深度3~8厘米,局地可达10厘米以上。防御指南:1.政府及相关部门按照职责落实防雪灾和防冻害措施;2.交通、铁路、电力、通信等部门应当加强道路、铁路、线路巡查维护,做好道路清扫和积雪融化工作;3.行人注意防寒防滑,驾驶人员小心驾驶,车辆应当采取防滑措施;4.农牧区和种养殖业要备足饲料,做好防雪灾和防冻害准备;5.加固棚架等易被雪压的临时搭建物。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 00000041600000_20250124165629&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 18:06:02&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=00000041600000_20250124165629.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=00000041600000_20250124165629.html</guid>
      <pubDate>Fri, 24 Jan 2025 10:06:02 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>中央气象台发布大雾黄色预警III级/较重</title>
      <description>&lt;p&gt;中央气象台1月24日18时发布大雾黄色预警:预计,24日夜间至25日上午,琼州海峡、雷州半岛沿岸海域、广西沿岸海域海域将有能见度不足1公里的大雾,其中琼州海峡中东部海域将有能见度不足500米的浓雾。此外,24日夜间至25日早晨,山东北部、河北东南部、河南中北部、陕西中部、甘肃东部、重庆中西部、四川盆地东南部、贵州北部、湖南东部等地的部分地区有大雾,局地有能见度不足200米的强浓雾。防御指南:1、由于陆地能见度较低,驾驶人员应控制速度,确保安全。2、机场、高速公路、轮渡码头采取措施,保障交通安全。3、航行、作业的船舶应加强瞭望,控制航速,保持航行安全距离,谨慎驾驶,确保航行安全。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 00000041600000_20250124170426&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 18:06:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=00000041600000_20250124170426.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=00000041600000_20250124170426.html</guid>
      <pubDate>Fri, 24 Jan 2025 10:06:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>兰州市气象台发布暴雪蓝色预警信号</title>
      <description>&lt;p&gt;兰州市气象台2025年01月24日14时39分发布暴雪蓝色预警信号:目前我市大部已出现小到中雪,预计今天下午至明天白天,我市降雪仍将持续,大部地区累积降雪量为中到大雪,七里河南部(阿干镇、魏岭、西果园、黄峪)、西固南部(四季青街道、金钩镇)、榆中中南部(马坡、小康营、新营、龙泉、高崖、甘草店、清水驿)累积降雪量可达10毫米以上,将出现暴雪,请注意防范短期内强降雪及寒潮天气造成的道路积雪、结冰、低能见度对春运工作、交通安全、能源保供、城市运行及农畜牧业带来的不利影响。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 62010041600000_20250124143954&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 14:45:02&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=62010041600000_20250124143954.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=62010041600000_20250124143954.html</guid>
      <pubDate>Fri, 24 Jan 2025 06:45:02 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>国家预警信息发布中心发布风险提示</title>
      <description>&lt;p&gt;国家预警信息发布中心1月24日发布未来七天风险提示:24-27日,寒潮雨雪将影响我国中东部地区,西北地区东部、华北西部、西南地区北部关注强降温对人体健康、能源保供的影响;甘肃东部、宁夏南部、陕西中南部、山西南部、河南西北部、湖北西北部、辽宁东部、吉林东部、山东半岛北部等地部分地区注意防范强降雪对春运交通、能源调度和供应的不利影响,做好大跨度建筑物、温室棚舍、牲畜圈舍的巡检加固以及防寒保暖工作,南方农作物注意防范冻害,北方部分地区和东部海区注意防范大风危害。未来一周,大范围雨雪降温对春运影响较大,冷暖转换剧烈,公众需做好防寒保暖措施,降雪区域道路湿滑易结冰,提醒公众在回家途中谨慎驾驶,注意出行安全。关注国家预警信息发布中心微博、微信号或下载12379手机客户端,及时掌握各类突发事件预警信息。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 000000Y0100000_20250124142124&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 14:30:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=000000Y0100000_20250124142124.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=000000Y0100000_20250124142124.html</guid>
      <pubDate>Fri, 24 Jan 2025 06:30:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>河南蒙古族自治县气象台发布道路结冰黄色预警信号[III/较大]</title>
      <description>&lt;p&gt;河南蒙古族自治县气象台2025年01月24日11时15分发布道路结冰黄色预警信号:预计01月24日11时15分至25日11时15分,河南地区有降雪天气并导致道路结冰,对交通有持续性影响,请有关单位和人员做好防范准备。防御措施:1.政府及有关部门要按照职责做好道路结冰应对工作;2.驾驶人员应注意路况,减速慢行;3.行人外出注意交通安全。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 63232441600000_20250124111500&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 11:20:05&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=63232441600000_20250124111500.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=63232441600000_20250124111500.html</guid>
      <pubDate>Fri, 24 Jan 2025 03:20:05 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>河南省气象台发布道路结冰黄色预警[III级/较重]</title>
      <description>&lt;p&gt;河南省气象台2025年1月24日11时00分发布道路结冰黄色预警:预计1月24日14时到25日14时,我省西部有大雪,局部暴雪;东部、东南部小到中雨转雨夹雪;其他县市有雨夹雪或小到中雪。北部、中西部路表温度低于0℃,黄河以北和三门峡、洛阳、平顶山、南阳西部和北部、郑州、许昌大部、漯河、开封西部和北部部分县(市、区)将出现对交通有较大影响的道路结冰,其中西部、西北部部分县(市、区)将出现对交通有较严重影响或严重影响的道路结冰。请注意防范。上述地区的相邻县(市、区)也需关注。
        防御指南:
        1.政府及相关部门按照职责做好道路结冰应急工作;
        2.交通运输、公安、市政等部门应提前做好道路结冰应对准备工作,及时组织人力和机械设备清理积冰,必要时对危险路段采取临时交通管制措施;
        3.相关单位做好管理区域内地面防滑措施,设置防滑警示标志;
        3.减少驾车出行,车辆应采取防滑措施,保持安全车距、减速慢行;
        4.尽量减少外出,注意防滑,老年人特别是骨质疏松患者尽可能不要出门;
        5.消防、医疗等救援部门做好应急准备,确保在发生交通事故或其他紧急情况时能够迅速响应并有效处置。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 41000041600000_20250124105630&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 11:05:03&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=41000041600000_20250124105630.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=41000041600000_20250124105630.html</guid>
      <pubDate>Fri, 24 Jan 2025 03:05:03 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>河南省气象台发布寒潮蓝色预警[IV级/一般]</title>
      <description>&lt;p&gt;河南省气象台2025年1月24日11时00分发布寒潮蓝色预警:预计27日和28日最低气温较25日,全省大部最低气温下降10度以上,其中安阳西部、新乡西部、济源、焦作、三门峡、洛阳南部、郑州西南部、平顶山中西部、南阳北部、驻马店东部、信阳部分县(市、区)下降12到14度,局地14到16度。27日和28日凌晨,最低气温西部山区零下14度到零下12度,北部零下10度到零下8度,其他县(市、区)零下6度到零下4度。24至25日白天,全省偏北风4级左右,阵风6到7级。25日夜里到26日,全省西北风或偏北风4到5级,阵风7到8级,局地9到10级。请注意防范。上述地区的相邻县(市、区)也需关注。
        防御指南:
        1.政府及相关部门按照职责做好防寒潮准备工作;
        2.注意防寒保暖,患有心脑血管、各类慢性呼吸道疾病等对气温变化敏感的老弱病人尽量减少外出;
        3.居家注意用火、用电、用气安全,燃煤取暖用户注意防范一氧化碳中毒;
        4.农业、林业、养殖业等积极采取防冻害等措施,设施农业做好增温、加固工作。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 41000041600000_20250124105451&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 11:04:02&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=41000041600000_20250124105451.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=41000041600000_20250124105451.html</guid>
      <pubDate>Fri, 24 Jan 2025 03:04:02 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>河南省气象台发布暴雪蓝色预警[IV级/一般]</title>
      <description>&lt;p&gt;河南省气象台2025年1月24日11时00分发布暴雪蓝色预警:预计24日14时到26日14时,黄河以北和三门峡、洛阳、郑州中西部和北部、开封北部、许昌西部、平顶山中西部、南阳北部和东南部、驻马店西南部、信阳西部部分县(市、区)将出现5毫米以上的降雪,其中安阳西部、济源西部、焦作南部、三门峡、洛阳、郑州西部、平顶山西部、许昌西部、南阳北部和东南部、驻马店西南部、信阳西部部分县(市、区)将出现10毫米以上降雪,三门峡北部、洛阳西北部和东南部、郑州西南部、平顶山西南部部分县(市、区)将出现20毫米以上降雪,请注意防范。上述地区的相邻县(市、区)也需关注。
        防御指南:
        1.政府及有关部门按照职责做好防雪灾和防冻害准备工作;
        2.交通、铁路、电力、通信等部门应当进行道路、铁路、线路巡查维护,做好道路清扫和积雪融化工作;
        3.行人注意防寒防滑,驾驶人员小心驾驶,车辆应当采取防滑措施;
        4. 农业、林业、养殖业应做好作物、树木防冻害与牲畜防寒准备;
        5. 加固危房、大棚和临时搭建物,及时清除积雪。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 41000041600000_20250124105057&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 11:04:01&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=41000041600000_20250124105057.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=41000041600000_20250124105057.html</guid>
      <pubDate>Fri, 24 Jan 2025 03:04:01 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>中央气象台继续发布暴雪黄色预警III级/较重</title>
      <description>&lt;p&gt;中央气象台1月24日10时继续发布暴雪黄色预警:预计1月24日14时至1月25日14时,甘肃东南部、宁夏、陕西中南部、山西西南部、河南西部、湖北西北部等地部分地区有大到暴雪,其中,陕西中南部、河南西部等地局地有大暴雪(20~22毫米)。上述部分地区新增积雪深度3~8厘米,局地可达10厘米以上。防御指南:1.政府及相关部门按照职责落实防雪灾和防冻害措施;2.交通、铁路、电力、通信等部门应当加强道路、铁路、线路巡查维护,做好道路清扫和积雪融化工作;3.行人注意防寒防滑,驾驶人员小心驾驶,车辆应当采取防滑措施;4.农牧区和种养殖业要备足饲料,做好防雪灾和防冻害准备;5.加固棚架等易被雪压的临时搭建物。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 00000041600000_20250124094927&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 10:05:02&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=00000041600000_20250124094927.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=00000041600000_20250124094927.html</guid>
      <pubDate>Fri, 24 Jan 2025 02:05:02 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
    <item>
      <title>中央气象台发布暴雪黄色预警III级/较重</title>
      <description>&lt;p&gt;中央气象台1月24日06时发布暴雪黄色预警:预计1月24日08时至1月25日08时,西藏东南部、青海东北部、甘肃中东部和南部、宁夏、陕西中部和南部、河南西部等地部分地区有大雪,其中,甘肃南部、宁夏南部、陕西中南部、河南西部等地部分地区有暴雪(10~18毫米)。上述部分地区新增积雪深度2~5厘米,局地可达10厘米以上。防御指南:1.政府及相关部门按照职责落实防雪灾和防冻害措施;2.交通、铁路、电力、通信等部门应当加强道路、铁路、线路巡查维护,做好道路清扫和积雪融化工作;3.行人注意防寒防滑,驾驶人员小心驾驶,车辆应当采取防滑措施;4.农牧区和种养殖业要备足饲料,做好防雪灾和防冻害准备;5.加固棚架等易被雪压的临时搭建物。&lt;/p&gt;
        &lt;div&gt;
        &lt;div&gt;&lt;strong&gt;预警编号:&lt;/strong&gt; 00000041600000_20250124051828&lt;/div&gt;
        &lt;div&gt;&lt;strong&gt;发布时间:&lt;/strong&gt; 2025-01-24 06:05:02&lt;/div&gt;
        &lt;/div&gt;
      </description>
      <link>http://www.12379.cn/html/new2018/alarmcontent.shtml?file=00000041600000_20250124051828.html</link>
      <guid isPermaLink="false">http://www.12379.cn/html/new2018/alarmcontent.shtml?file=00000041600000_20250124051828.html</guid>
      <pubDate>Thu, 23 Jan 2025 22:05:02 GMT</pubDate>
      <enclosure url="http://www.12379.cn/html/new2018/img/logo.png" type="image/jpeg"></enclosure>
      <category>forecast</category>
    </item>
  </channel>
</rss>

Copy link
Contributor

Successfully generated as following:

http://localhost:1200/12379/alert/重庆,沙坪坝 - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>国家突发事件预警信息发布</title>
    <link>http://www.12379.cn/data/alarm_list_all.html</link>
    <atom:link href="http://localhost:1200/12379/alert/%E9%87%8D%E5%BA%86,%E6%B2%99%E5%9D%AA%E5%9D%9D" rel="self" type="application/rss+xml"></atom:link>
    <description>国家突发事件预警信息实时发布 - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>zh-CN</language>
    <image>
      <url>http://www.12379.cn/html/new2018/img/logo.png</url>
      <title>国家突发事件预警信息发布</title>
      <link>http://www.12379.cn/data/alarm_list_all.html</link>
    </image>
    <lastBuildDate>Wed, 29 Jan 2025 06:14:05 GMT</lastBuildDate>
    <ttl>5</ttl>
  </channel>
</rss>
http://localhost:1200/12379/alert/广州,荔湾 - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>国家突发事件预警信息发布</title>
    <link>http://www.12379.cn/data/alarm_list_all.html</link>
    <atom:link href="http://localhost:1200/12379/alert/%E5%B9%BF%E5%B7%9E,%E8%8D%94%E6%B9%BE" rel="self" type="application/rss+xml"></atom:link>
    <description>国家突发事件预警信息实时发布 - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>zh-CN</language>
    <image>
      <url>http://www.12379.cn/html/new2018/img/logo.png</url>
      <title>国家突发事件预警信息发布</title>
      <link>http://www.12379.cn/data/alarm_list_all.html</link>
    </image>
    <lastBuildDate>Wed, 29 Jan 2025 06:14:05 GMT</lastBuildDate>
    <ttl>5</ttl>
  </channel>
</rss>
http://localhost:1200/12379/alert/河南,郑州,金水 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>ReferenceError: __dirname is not defined
Route: /12379/alert/:filter
Full Route: /12379/alert/河南,郑州,金水
Node Version: v22.13.1
Git Hash: 75744f4a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto: Route Test Complete Auto route test has finished on given PR Route
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants