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

fix(route): fix warthunder route css selector issue #11097

Merged
merged 1 commit into from
Oct 15, 2022
Merged

Conversation

axojhf
Copy link
Contributor

@axojhf axojhf commented Oct 15, 2022

该 PR 相关 Issue / Involved issue

Close #

完整路由地址 / Example for the proposed route(s)

/warthunder/news

新 RSS 检查列表 / New RSS Script Checklist

  • 新的路由 New Route
  • 文档说明 Documentation
    • 中文文档 CN
    • 英文文档 EN
  • 全文获取 fulltext
    • 使用缓存 Use Cache
  • 反爬/频率限制 anti-bot or rate limit?
    • 如果有, 是否有对应的措施? If yes, do your code reflect this sign?
  • 日期和时间 date and time
    • 可以解析 Parsed
    • 时区调整 Correct TimeZone
  • 添加了新的包 New package added
  • Puppeteer

说明 / Note

@github-actions github-actions bot added the Route: v2 v2 route related label Oct 15, 2022
@github-actions
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/warthunder/news - Success
<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"
>
    <channel>
        <title><![CDATA[War Thunder News]]></title>
        <link>https://warthunder.com/en/news/</link>
        <atom:link href="http://localhost:1200/warthunder/news" rel="self" type="application/rss+xml" />
        <description><![CDATA[War Thunder News - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)]]></description>
        <generator>RSSHub</generator>
        <webMaster>i@diygod.me (DIYgod)</webMaster>
        <language>zh-cn</language>
        <lastBuildDate>Sat, 15 Oct 2022 09:21:48 GMT</lastBuildDate>
        <ttl>5</ttl>
        <item>
            <title><![CDATA[Thunder Show: No Escape!]]></title>
            <description><![CDATA[Welcome to Thunder Show and the freshest moments of the past week. Today’s set of episodes is about... efficiency. Why shoot at one target when you can shoot at two? Why fight one on one when you can go against twice as many? Don’t you agree?  Let’s get started!
                <br><img  src="https://static.warthunder.com/upload/image//!%20new/Anons_378/_thumbs/520x/TS_54_small_clear_e3da45dd50957fbf01f5ee2d73956efc.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Fri, 14 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7907-video-thunder-show-no-escape-en</guid>
            <link>https://warthunder.com/en/news/7907-video-thunder-show-no-escape-en</link>
        </item>
        <item>
            <title><![CDATA[M1A2 SEP TUSK: Up Close & Personal]]></title>
            <description><![CDATA[The M1A2 SEP is the first of a series of upgrade packages developed for the American Abrams MBT in the late 1990s. Coming to War Thunder as part of the next major update “Fire and Ice”, veteran U.S. tankers may look forward to the arrival of one of the most advanced iterations of the Abrams MBT also featuring the TUSK field kit!
                <br><img  src="https://static.warthunder.com/upload/image//0_2022_Anons/Ground/_thumbs/520x/anons_378_m1a2_sep_28992dbb80649ef3e30272e004413e2d.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Fri, 14 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7906-development-m1a2-sep-tusk-up-close-personal-en</guid>
            <link>https://warthunder.com/en/news/7906-development-m1a2-sep-tusk-up-close-personal-en</link>
        </item>
        <item>
            <title><![CDATA[Finnish aviation and armored vehicles]]></title>
            <description><![CDATA[In the upcoming War Thunder “Fire and Ice” update, we plan to introduce lineups of Finnish aircraft and ground vehicles as part of the Swedish tech tree!
                <br><img  src="https://static.warthunder.com/upload/image//!%20new/Anons_378/_thumbs/520x/anons_378_fin_tech_cd619c803cc7b4b14216d4bd1cb72e28.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Fri, 14 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7908-development-finnish-aviation-and-armored-vehicles-en</guid>
            <link>https://warthunder.com/en/news/7908-development-finnish-aviation-and-armored-vehicles-en</link>
        </item>
        <item>
            <title><![CDATA["Fire and Ice" Update Teaser]]></title>
            <description><![CDATA[Prepare yourself for the arrival of winter warriors!
                <br><img  src="https://static.warthunder.com/upload/image//!%20new/Anons_378/_thumbs/520x/2,20_Finnish_tis_up_378h213_5ae07529dc6653a28b586980fce5c688.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Thu, 13 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7905-video-fire-and-ice-update-teaser-en</guid>
            <link>https://warthunder.com/en/news/7905-video-fire-and-ice-update-teaser-en</link>
        </item>
        <item>
            <title><![CDATA[Bosvark: The Little Truck That Grew Up]]></title>
            <description><![CDATA[The Bosvark is a South African wheeled SPAAG, developed in the late 1990s on the back of the SAMIL-100 truck chassis. Soon, fans of the South African ground vehicles can look forward to the arrival of the Bosvark in the British ground forces tree, coming to War Thunder as part of the next major update!
                <br><img  src="https://static.warthunder.com/upload/image//0_2022_Anons/Ground/_thumbs/520x/anons_378_bosvark_spaag_44f4934582bdd2cdb025c5b9f2125ac1.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Thu, 13 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7900-development-bosvark-the-little-truck-that-grew-up-en</guid>
            <link>https://warthunder.com/en/news/7900-development-bosvark-the-little-truck-that-grew-up-en</link>
        </item>
        <item>
            <title><![CDATA[US Navy Birthday]]></title>
            <description><![CDATA[On October 13th, 1775, at the very beginning of the American Revolutionary War, the Continental Congress passed a resolution to create a Navy whose goal was to attack British ships near the American coastline. This first fleet was disbanded after the war, but the date remained in history, and now, while the US Navy is the largest in the entire world, it celebrates its birthday on October 13th.
                <br><img  src="https://static.warthunder.com/upload/image//0_2022_Anons/_thumbs/520x/anons_destroyer_fletcher_cowell_5ecb4d4084faf40145e1b29b24cece97.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Thu, 13 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7903-special-us-navy-birthday-en</guid>
            <link>https://warthunder.com/en/news/7903-special-us-navy-birthday-en</link>
                <category>decal</category>
                <category>
                Special
        </category>
        </item>
        <item>
            <title><![CDATA[T-34 Family]]></title>
            <description><![CDATA[The T-34 was and remains a legend. Thousands of these tanks were instrumental in defending the Soviet Union from the German invasion and became famous worldwide thanks to their exceptional capabilities. Today we’re going to tell you how to unlock the true potential of the T-34 and bring your team to victory.
                <br><img  src="https://static.warthunder.com/upload/image//!%20new/Anons_378/_thumbs/520x/Small%20(1)_a3708dc0bb52a4664e2a70c8660ddca0.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Wed, 12 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7902-video-t-34-family-en</guid>
            <link>https://warthunder.com/en/news/7902-video-t-34-family-en</link>
        </item>
        <item>
            <title><![CDATA[Fusō: A Broadside to Remember]]></title>
            <description><![CDATA[Fusō is the lead ship of a pair of battleships built for the Imperial Japanese Navy before and completed during WWI. Despite being a pre-WWI design, Fusō served throughout the interwar period and in WWII thanks to modernization and is about to embark on new campaigns after its arrival in War Thunder in the next major update — Fire and Ice!
                <br><img  src="https://static.warthunder.com/upload/image//!%20new/Anons_378/_thumbs/520x/anons_378_battleship_fuso_c31a6d9a5860004422df5e1dd8ab6db5.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Wed, 12 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7899-development-fus%C5%8D-a-broadside-to-remember-en</guid>
            <link>https://warthunder.com/en/news/7899-development-fus%C5%8D-a-broadside-to-remember-en</link>
        </item>
        <item>
            <title><![CDATA[It’s fixed! №66]]></title>
            <description><![CDATA[In this digest we would like to tell you about our continuing work on improvements and fixes in the game. You can find information about all updates that have been released in War Thunder on the website special section.
                <br><img  src="https://static.warthunder.com/upload/image//0_2022_Anons/_thumbs/520x/kfiranons_ba5e42ea005178174c518b8d45aff6e8.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Wed, 12 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7901-it-s-fixed-66-en</guid>
            <link>https://warthunder.com/en/news/7901-it-s-fixed-66-en</link>
        </item>
        <item>
            <title><![CDATA[The Shooting Range #323]]></title>
            <description><![CDATA[You are watching The Shooting Range – a weekly show for all tankers, airmen and Captains in War Thunder.
                <br><img  src="https://static.warthunder.com/upload/image//0_2022_Anons/Aircraft/_thumbs/520x/Small323_6e81c884e2366268d890d9d32c6ecdcb.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Sun, 09 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7898-video-the-shooting-range-323-en</guid>
            <link>https://warthunder.com/en/news/7898-video-the-shooting-range-323-en</link>
        </item>
        <item>
            <title><![CDATA[Thunder Show: New Target!]]></title>
            <description><![CDATA[Hi! Welcome to Thunder Show and the freshest moments of the past week. This episode is all about composure... which we all often need to maintain. Although sometimes emotion helps you pull off incredible things, too. Anyway, let’s take a look!
                <br><img  src="https://static.warthunder.com/upload/image//!%20new/Anons_378/_thumbs/520x/TS_53_small_clear_d6ac612dcdf841e6e5c7c4315bea248a.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Fri, 07 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7897-video-thunder-show-new-target-en</guid>
            <link>https://warthunder.com/en/news/7897-video-thunder-show-new-target-en</link>
        </item>
        <item>
            <title><![CDATA[IL-2: Flying tank]]></title>
            <description><![CDATA[The battles of WW2 made dozens of combat vehicles into legends. Tankers achieved insane feats on their Shermans, T-34s and Panthers, while the skies were set ablaze by mighty Mustangs and Spitfires. But one iconic vehicle of that era is standing out even in this extraordinary company. We’re talking, of course, about the Il-2 Shturmovik, the most-produced military aircraft in history.
                <br><img  src="https://static.warthunder.com/upload/image//!%20new/Anons_378/_thumbs/520x/Small_5c48ef9043de0989f51a2919407bdc04.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Wed, 05 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7896-video-il-2-flying-tank-en</guid>
            <link>https://warthunder.com/en/news/7896-video-il-2-flying-tank-en</link>
        </item>
        <item>
            <title><![CDATA[It’s fixed! №65]]></title>
            <description><![CDATA[In this digest we would like to tell you about our continuing work on improvements and fixes in the game. You can find information about all updates that have been released in War Thunder on the website special section.
                <br><img  src="https://static.warthunder.com/upload/image//0_2022_Anons/_thumbs/520x/Italian_Torpedo_Anons_954f8e082eff0cd2e788e6bba18164ff.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Wed, 05 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7895-it-s-fixed-65-en</guid>
            <link>https://warthunder.com/en/news/7895-it-s-fixed-65-en</link>
        </item>
        <item>
            <title><![CDATA[German Unity Day]]></title>
            <description><![CDATA[32 years ago, on October 3rd 1990, Germany was reunited after several decades of separation. We congratulate our German players during one of the main national holidays!
                <br><img  src="https://static.warthunder.com/upload/image//!%20new/Anons_378/_thumbs/520x/sea_hawk_mk100_xbox_1920x1080_378_96b17a17aecf2166b6dbc2204a11f941.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Mon, 03 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7894-special-german-unity-day-en</guid>
            <link>https://warthunder.com/en/news/7894-special-german-unity-day-en</link>
                <category>decal</category>
                <category>
                Special
        </category>
        </item>
        <item>
            <title><![CDATA[The Shooting Range #322]]></title>
            <description><![CDATA[You are watching The Shooting Range – a weekly show for all tankers, airmen and Captains in War Thunder.
                <br><img  src="https://static.warthunder.com/upload/image//0_2022_Anons/Aircraft/_thumbs/520x/Small322_534522d55ed4789268dbafa3546503b6.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Sun, 02 Oct 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7893-video-the-shooting-range-322-en</guid>
            <link>https://warthunder.com/en/news/7893-video-the-shooting-range-322-en</link>
        </item>
        <item>
            <title><![CDATA[Thunder Show: Ocean's 11 frags]]></title>
            <description><![CDATA[Hi! Welcome to Thunder Show and the freshest moments of the past week. You should never give up too early in battle: who knows what will happen next? But we also wouldn’t recommend celebrating too early. Although... Ah, okay, just wait and see. Let’s get started!
                <br><img  src="https://static.warthunder.com/upload/image//0_2022_Anons/Videos/_thumbs/520x/TS_52_small_clear_5093a68064fa8446df0820b29229a754.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Fri, 30 Sep 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7892-video-thunder-show-ocean-s-11-frags-en</guid>
            <link>https://warthunder.com/en/news/7892-video-thunder-show-ocean-s-11-frags-en</link>
        </item>
        <item>
            <title><![CDATA[National Day of the People's Republic of China]]></title>
            <description><![CDATA[Every year, on the 1st of October, the central squares in China will be decorated with compositions of fresh flowers, Chinese lanterns, dragon figures and see folk festivals and performances on the streets that will continue for several days in the “golden week”. This day marks the main public holiday in China.
                <br><img  src="https://static.warthunder.com/upload/image//!%20new/Anons_378/_thumbs/520x/anons_378_ndchina_21_986483961c20b6834a440d91be05390f.jpg" referrerpolicy="no-referrer">]]></description>
            <pubDate>Fri, 30 Sep 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7891-special-national-day-of-the-people-s-republic-of-china-en</guid>
            <link>https://warthunder.com/en/news/7891-special-national-day-of-the-people-s-republic-of-china-en</link>
                <category>decal</category>
                <category>
                Special
        </category>
        </item>
        <item>
            <title><![CDATA[DDoS attack on the server]]></title>
            <description><![CDATA[Dear players. At the moment, some of you may experience problems with the availability of the game and other game services in War Thunder due to a DDoS attack on the server infrastructure of one of the data centres.
                <br><img  src="https://static.warthunder.com/upload/image//0_2022_Anons/_thumbs/520x/updateplain17_fd8064b984890f2364b8d6ce9699485b_2a95ed5238e9858053316cb6e8ad7e0b.png" referrerpolicy="no-referrer">]]></description>
            <pubDate>Sat, 24 Sep 2022 00:00:00 GMT</pubDate>
            <guid isPermaLink="false">https://warthunder.com/en/news/7887-ddos-attack-on-the-server-en</guid>
            <link>https://warthunder.com/en/news/7887-ddos-attack-on-the-server-en</link>
                <category>pinned</category>
        </item>
    </channel>
</rss>

@github-actions github-actions bot added the Auto: Route Test Complete Auto route test has finished on given PR label Oct 15, 2022
@TonyRL TonyRL merged commit b43add2 into DIYgod:master Oct 15, 2022
@axojhf axojhf deleted the temp branch October 21, 2022 02:09
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: v2 v2 route related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants