埋め込み投稿の再取得方法

当サイト(https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963/309)に Discourse を埋め込んでいます。Discourse は、当サイトのプレビューを含む投稿を作成します。クローラーのパラメータを変更したため、Discourse が埋め込まれているページのプレビューを再取得したいのですが、そのような埋め込み投稿を再作成・再取得する方法はありますか?

「rebaking」は役に立ちますか?コンソールにそのようなコマンドはありますか?

TopicEmbed.find_remote(url) が、何を取得するかを表示するのに役立つことがわかりました。

Looking through the source I found this to be a working solution:

username = SiteSetting.embed_by_username.downcase
user = User.where(username_lower: username.downcase).first
embed_url = "http://www.example.org" # or use the url from topic as shown below
TopicEmbed.import_remote(user, embed_url)

taken from TopicRetriever.fetch_http (discourse/lib/topic_retriever.rb at 888e68a1637ca784a7bf51a6bbb524dcf7413b13 · discourse/discourse · GitHub)

where embed_url is the url of the site where discourse is embedded, coming from the topic with the number topic_id this may be

embed_url = TopicEmbed.where(topic: topic_id)[0].embed_url

This seems a bit complicated to just refetch. Is it correct anyway? Is there a simpler possibility?