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: route for 'The Sydney Morning Herald' #16958

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yue-dongchen
Copy link

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

smh/by/natassia-chrysanthos-h17jwj
smh/by/david-crowe-h0waa9

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 / 说明

This is a route for articles by a specific author in The Sydney Morning Herald. No full-text extraction due to paywall.

@github-actions github-actions bot added the Route label Sep 29, 2024
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/smh/by/natassia-chrysanthos-h17jwj - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Articles by Natassia Chrysanthos (SMH)</title>
    <link>https://smh.com.au/by/natassia-chrysanthos-h17jwj</link>
    <atom:link href="http://localhost:1200/smh/by/natassia-chrysanthos-h17jwj" rel="self" type="application/rss+xml"></atom:link>
    <description>Articles by Natassia Chrysanthos (SMH) - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>contact@rsshub.app (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Sun, 29 Sep 2024 04:03:07 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>ASIO called Raneem’s uncle a threat. The family’s fighting to find out why</title>
      <description>The first person from Gaza to challenge his cancelled Australian visa has been refused information about why he was knocked back, and is now stuck in Cairo.</description>
      <link>https://smh.com.au/politics/federal/asio-called-raneem-s-uncle-a-threat-the-family-s-fighting-to-find-out-why-20240927-p5kdz5.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/asio-called-raneem-s-uncle-a-threat-the-family-s-fighting-to-find-out-why-20240927-p5kdz5.html</guid>
      <pubDate>Fri, 27 Sep 2024 05:33:18 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.31928673480602265%2C$multiply_0.5855%2C$ratio_1.776846%2C$width_1059%2C$x_485%2C$y_252/t_crop_custom/q_86%2Cf_auto/02a0831b26fc5dcb45e6072becd40699f15ffbe4" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Dutton calls overstaying international students ‘the modern version of boat arrivals’</title>
      <description>Dutton evoked Abbott’s 2013 campaign vow to “stop the boats”, reviving a political clash over immigration, even as Labor knocks back student visas at record rates.</description>
      <link>https://smh.com.au/politics/federal/dutton-calls-overstaying-international-students-the-modern-version-of-boat-arrivals-20240926-p5kdrw.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/dutton-calls-overstaying-international-students-the-modern-version-of-boat-arrivals-20240926-p5kdrw.html</guid>
      <pubDate>Thu, 26 Sep 2024 08:02:41 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.0945%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_86%2C$y_0/t_crop_custom/q_86%2Cf_auto/cee4767b1d75327098670d00452002511adb7a49" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Asylum claims at six-year high as record numbers await decision</title>
      <description>The list of people in limbo is growing by about 1000 a month as huge backlogs and five-year appeal wait times expose the immigration system to exploitation.</description>
      <link>https://smh.com.au/politics/federal/asylum-claims-at-six-year-high-as-record-numbers-await-decision-20240916-p5kayq.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/asylum-claims-at-six-year-high-as-record-numbers-await-decision-20240916-p5kayq.html</guid>
      <pubDate>Sat, 21 Sep 2024 19:00:00 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.5534%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_89%2C$y_0/t_crop_custom/q_86%2Cf_auto/263a245b435310612c38ed7ac9520968b527403a" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Every visa sent to ASIO: Home Affairs advice challenges Dutton claim</title>
      <description>Confidential documents reveal that Palestinians leaving Gaza went through eight stages of identity verification, challenging Coalition attacks against the government.</description>
      <link>https://smh.com.au/politics/federal/every-visa-sent-to-asio-home-affairs-advice-challenges-dutton-claim-20240920-p5kc88.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/every-visa-sent-to-asio-home-affairs-advice-challenges-dutton-claim-20240920-p5kc88.html</guid>
      <pubDate>Fri, 20 Sep 2024 08:12:47 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.7890382165605095%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_35%2C$y_87/t_crop_custom/q_86%2Cf_auto/f75716f6ac54e953504e8ff290b20f819061c1a7" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Minister concedes immigration too high as students compete for city rentals</title>
      <description>New government analysis reveals international students make up 7 per cent of the private rental market, and more than 20 per cent in inner Sydney and Melbourne.</description>
      <link>https://smh.com.au/politics/federal/minister-concedes-immigration-too-high-as-students-compete-for-city-rentals-20240920-p5kc3i.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/minister-concedes-immigration-too-high-as-students-compete-for-city-rentals-20240920-p5kc3i.html</guid>
      <pubDate>Fri, 20 Sep 2024 02:00:25 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.1332%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_203%2C$y_0/t_crop_custom/q_86%2Cf_auto/6529a70b4d4c8e8ae6492b809bd1229ebbdf9bb1" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Albanese under fire as migrant intake blows forecasts</title>
      <description>The latest figures show migration is slowing, but not at the rate the government predicted.</description>
      <link>https://smh.com.au/politics/federal/albanese-under-fire-as-migrant-intake-blows-forecasts-20240919-p5kbv1.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/albanese-under-fire-as-migrant-intake-blows-forecasts-20240919-p5kbv1.html</guid>
      <pubDate>Thu, 19 Sep 2024 07:44:16 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.5534407027818449%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_188%2C$y_0/t_crop_custom/q_86%2Cf_auto/1b37d35d90facdf7fc4ff30d51fcef0ce4adabcd" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>The $5 billion plan for families that Albanese could promise at the next election</title>
      <description>Almost one-third of Australian families would get free childcare under a plan the federal government is now considering.</description>
      <link>https://smh.com.au/politics/federal/the-5-billion-plan-for-families-that-albanese-could-promise-at-the-next-election-20240917-p5kbc3.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/the-5-billion-plan-for-families-that-albanese-could-promise-at-the-next-election-20240917-p5kbc3.html</guid>
      <pubDate>Wed, 18 Sep 2024 05:37:09 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.1134%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_148%2C$y_0/t_crop_custom/q_86%2Cf_auto/3e175c53232e8ca5792e97b531e8fff9bab8133c" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>This rule puts Border Force workers above the law – and it was just quietly extended</title>
      <description>The government has renewed a rule that exempts Operation Sovereign Borders staff from the need to take “reasonable care” not to harm asylum seekers at sea.</description>
      <link>https://smh.com.au/politics/federal/this-rule-puts-border-force-workers-above-the-law-and-it-was-just-quietly-extended-20240902-p5k75w.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/this-rule-puts-border-force-workers-above-the-law-and-it-was-just-quietly-extended-20240902-p5k75w.html</guid>
      <pubDate>Sat, 14 Sep 2024 19:00:00 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.7875%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_54%2C$y_0/t_crop_custom/q_86%2Cf_auto/d7ed9c04a73be6726bb05f3384b59e161885cc2b" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Jewish leaders warn weak hate speech laws won’t stop ‘ugly’ threats, chants and slurs</title>
      <description>The war in Gaza has reopened a debate over hate speech in Australia. Jewish leaders say Labor’s new watered-down hate crimes laws fall short.</description>
      <link>https://smh.com.au/politics/federal/jewish-leaders-warn-weak-hate-speech-laws-won-t-stop-ugly-threats-chants-and-slurs-20240912-p5ka11.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/jewish-leaders-warn-weak-hate-speech-laws-won-t-stop-ugly-threats-chants-and-slurs-20240912-p5ka11.html</guid>
      <pubDate>Thu, 12 Sep 2024 07:00:57 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.0945%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_83%2C$y_0/t_crop_custom/q_86%2Cf_auto/bb9e40309a6bf50764731deb732b105c39bf7c6d" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Labor’s promised hate speech bill will not deal with ‘hate speech’</title>
      <description>Albanese pledged to protect Australians from hate speech. Sources familiar with the legislation said it had been weakened in the final stages.</description>
      <link>https://smh.com.au/politics/federal/labor-s-promised-hate-speech-bill-will-not-deal-with-hate-speech-20240910-p5k9dp.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/labor-s-promised-hate-speech-bill-will-not-deal-with-hate-speech-20240910-p5k9dp.html</guid>
      <pubDate>Wed, 11 Sep 2024 07:32:36 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.525%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_116%2C$y_0/t_crop_custom/q_86%2Cf_auto/27b8a78f88c150f806db95dc9479b49713e56b90" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Insurers banned from jacking up premiums based on your genes</title>
      <description>People who undergo genetic testing for medical purposes will never be obliged to share their results with insurers, and insurers will not be allowed to ask.</description>
      <link>https://smh.com.au/politics/federal/australians-able-to-get-genetic-tests-without-fear-of-life-insurance-hit-20240910-p5k9fv.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/australians-able-to-get-genetic-tests-without-fear-of-life-insurance-hit-20240910-p5k9fv.html</guid>
      <pubDate>Tue, 10 Sep 2024 12:30:00 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.0973%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_46%2C$y_0/t_crop_custom/q_86%2Cf_auto/7050bedc2d35841619bb80618ae7383c8545abaf" type="image/jpeg"></enclosure>
    </item>
  </channel>
</rss>
http://localhost:1200/smh/by/david-crowe-h0waa9 - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Articles by David Crowe (SMH)</title>
    <link>https://smh.com.au/by/david-crowe-h0waa9</link>
    <atom:link href="http://localhost:1200/smh/by/david-crowe-h0waa9" rel="self" type="application/rss+xml"></atom:link>
    <description>Articles by David Crowe (SMH) - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>contact@rsshub.app (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Sun, 29 Sep 2024 04:03:09 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>‘Not unusual’ for a treasurer to model negative gearing, says Chalmers</title>
      <description>The treasurer has defended the use of federal officials to explore changes to negative gearing after days of dispute over the housing crisis.</description>
      <link>https://smh.com.au/politics/federal/not-unusual-for-treasurers-to-model-negative-gearing-says-chalmers-20240927-p5ke1l.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/not-unusual-for-treasurers-to-model-negative-gearing-says-chalmers-20240927-p5ke1l.html</guid>
      <pubDate>Fri, 27 Sep 2024 07:04:17 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_1.5841851851851851%2C$multiply_0.5855%2C$ratio_1.776846%2C$width_1059%2C$x_1452%2C$y_343/t_crop_custom/q_86%2Cf_auto/b01e3a89414132f6c64bef2cd2218b6d93e47d7a" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Keating, Marles exchange fire over pact to buy US submarines</title>
      <description>Paul Keating says the AUKUS defence pact is “act of sublimation” to the US. Richard Marles thinks the plan has a parallel in the Labor luminary’s time as PM.</description>
      <link>https://smh.com.au/world/europe/it-is-happening-marles-launches-defence-of-aukus-amid-keating-criticism-20240927-p5kdwe.html</link>
      <guid isPermaLink="false">https://smh.com.au/world/europe/it-is-happening-marles-launches-defence-of-aukus-amid-keating-criticism-20240927-p5kdwe.html</guid>
      <pubDate>Fri, 27 Sep 2024 06:25:15 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.4396875%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_27%2C$y_52/t_crop_custom/q_86%2Cf_auto/30510f37f76c48d354983e46fd7fb62f66755c4c" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Teals back tax reform despite backlash risk on negative gearing</title>
      <description>The “teal” independents and other crossbench MPs have called for negative gearing to be on the agenda in a total rethink of tax and housing policy.</description>
      <link>https://smh.com.au/politics/federal/teals-back-tax-reform-despite-backlash-risk-on-negative-gearing-20240926-p5kdqg.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/teals-back-tax-reform-despite-backlash-risk-on-negative-gearing-20240926-p5kdqg.html</guid>
      <pubDate>Thu, 26 Sep 2024 05:58:03 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.33140625%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_130%2C$y_0/t_crop_custom/q_86%2Cf_auto/7b0d7d2300bf815c50099fea050b29c4edc6339f" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Memo to Dutton: It’s the final quarter, you’d better start kicking</title>
      <description>The opposition leader has the wind behind him in opinion polls but looks reluctant to risk it by telling voters what he’d do with power. And the risk is real.</description>
      <link>https://smh.com.au/politics/federal/memo-to-dutton-it-s-the-final-quarter-you-d-better-start-kicking-20240926-p5kdn5.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/memo-to-dutton-it-s-the-final-quarter-you-d-better-start-kicking-20240926-p5kdn5.html</guid>
      <pubDate>Thu, 26 Sep 2024 05:30:00 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.3511666666666667%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_0%2C$y_0/t_crop_custom/q_86%2Cf_auto/aa7ad6520cc8dd39b266f1ceb8f2afa64c47bf53" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>PM not keen on negative gearing change unless it won’t hurt supply</title>
      <description>A new report shows more than 120,000 voters in marginal seats are negatively geared – and reveals where the most people are using the property tax concession.</description>
      <link>https://smh.com.au/politics/federal/the-battleground-seats-with-the-most-negatively-geared-voters-20240925-p5kda8.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/the-battleground-seats-with-the-most-negatively-geared-voters-20240925-p5kda8.html</guid>
      <pubDate>Wed, 25 Sep 2024 08:29:38 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.5534407027818449%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_96%2C$y_0/t_crop_custom/q_86%2Cf_auto/db4764524acffd0f1266c24e60557c9bca07dfc0" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>If Albanese wants this fight, he’ll need to gear up for a big one</title>
      <description>Negative gearing is a totemic policy because of the way any attempt at reform can be turned into an assault on aspiration or a scare about a tax grab.</description>
      <link>https://smh.com.au/politics/federal/if-albanese-wants-this-fight-he-ll-need-to-gear-up-for-a-big-one-20240924-p5kd4p.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/if-albanese-wants-this-fight-he-ll-need-to-gear-up-for-a-big-one-20240924-p5kd4p.html</guid>
      <pubDate>Tue, 24 Sep 2024 18:18:00 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.20751213245789327%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_438%2C$y_50/t_crop_custom/q_86%2Cf_auto/d373c878b2efe3623c267c2f190341d8aa4886b9" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Negative gearing in Labor’s sights as Albanese readies for election battle</title>
      <description>Negative gearing and capital gains tax concessions cost the budget billions of dollars every year, which is why Labor has asked for advice on possible changes to them.</description>
      <link>https://smh.com.au/politics/federal/negative-gearing-in-labor-s-sights-as-albanese-readies-for-election-battle-20240924-p5kd0w.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/negative-gearing-in-labor-s-sights-as-albanese-readies-for-election-battle-20240924-p5kd0w.html</guid>
      <pubDate>Tue, 24 Sep 2024 18:00:00 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.5534407027818449%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_100%2C$y_0/t_crop_custom/q_86%2Cf_auto/3d8778cf5fa81ff4aa6a197bfea949c366a4f18c" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>The state-by-state numbers that show Albanese’s big problem – and Dutton’s bigger challenge</title>
      <description>Anthony Albanese has continued to lose ground in Australia’s two biggest states, but exclusive polling analysis reveals the Coalition’s monumental challenge.</description>
      <link>https://smh.com.au/politics/federal/the-state-by-state-numbers-that-show-albanese-s-big-problem-and-dutton-s-bigger-challenge-20240920-p5kc4c.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/the-state-by-state-numbers-that-show-albanese-s-big-problem-and-dutton-s-bigger-challenge-20240920-p5kc4c.html</guid>
      <pubDate>Sun, 22 Sep 2024 08:01:37 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.44522968197879864%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_0%2C$y_0/t_crop_custom/q_86%2Cf_auto/e06526ef5012b3ae19ddf297d366d8bbe05d44fd" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>‘Nanny state’: NRL, AFL storm the field over gambling ads</title>
      <description>Australian rugby league chief Peter V’landys and AFL boss Andrew Dillon are using their sway with political leaders to stop a total digital ad ban.</description>
      <link>https://smh.com.au/politics/federal/nanny-state-nrl-afl-storm-the-field-over-gambling-ads-20240920-p5kc2q.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/nanny-state-nrl-afl-storm-the-field-over-gambling-ads-20240920-p5kc2q.html</guid>
      <pubDate>Fri, 20 Sep 2024 18:03:00 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.4725%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_1117%2C$y_443/t_crop_custom/q_86%2Cf_auto/27602c9f3b166999d8467056b2852926f8bc93db" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Why this is the housing fight Albanese had to have</title>
      <description>Labor tried for an outcome on housing in the parliament, and got obstruction instead. It did not get the law it wanted, but it got the argument it needed.</description>
      <link>https://smh.com.au/politics/federal/why-this-is-the-housing-fight-albanese-had-to-have-20240919-p5kbx2.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/why-this-is-the-housing-fight-albanese-had-to-have-20240919-p5kbx2.html</guid>
      <pubDate>Thu, 19 Sep 2024 19:00:00 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.42%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_140%2C$y_0/t_crop_custom/q_86%2Cf_auto/a0ff5fae1d92059ec149cc61bb15c26208b8cdc7" type="image/jpeg"></enclosure>
    </item>
    <item>
      <title>Albanese warns corporate chiefs of ‘extreme anti-business’ opposition</title>
      <description>The PM has gone on the offensive in a growing row with big business, saying his government has “stood up for some of Australia’s biggest employers”.</description>
      <link>https://smh.com.au/politics/federal/albanese-warns-corporate-chiefs-of-extreme-anti-business-opposition-20240917-p5kb7o.html</link>
      <guid isPermaLink="false">https://smh.com.au/politics/federal/albanese-warns-corporate-chiefs-of-extreme-anti-business-opposition-20240917-p5kb7o.html</guid>
      <pubDate>Tue, 17 Sep 2024 10:30:00 GMT</pubDate>
      <enclosure url="https://static.ffx.io/images/$zoom_0.16937075718015665%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_314%2C$y_37/t_crop_custom/q_86%2Cf_auto/1032fadaf2e0a80f2621f71f97d11c91391b17a8" type="image/jpeg"></enclosure>
    </item>
  </channel>
</rss>

@github-actions github-actions bot added the Auto: Route Test Complete Auto route test has finished on given PR label Sep 29, 2024
maintainers: ['yue-dongchen'],
handler: async (ctx) => {
const baseUrl = 'https://smh.com.au';
const { authorSlug = 'natassia-chrysanthos-h17jwj' } = ctx.req.param();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since

path: '/by/:authorSlug',
defines authorSlug as a compulsory parameter, no default value should be provided.

const { authorSlug = 'natassia-chrysanthos-h17jwj' } = ctx.req.param();
const link = `https://smh.com.au/by/${authorSlug}`;

const response = await ofetch(link);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the GraphQL endpoint at api.smh.com.au/graphql instead.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I will do it in coming weeks.

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