diff --git a/public/locales/en/components/NavItems/tools/Assistant.json b/public/locales/en/components/NavItems/tools/Assistant.json
index 480c59f25..b69d70f17 100644
--- a/public/locales/en/components/NavItems/tools/Assistant.json
+++ b/public/locales/en/components/NavItems/tools/Assistant.json
@@ -1 +1 @@
-{"assistant_title": "Assistant", "assistant_intro": "The assistant will help you to analyse a webpage, an image or a video file and suggest which WeVerify tools are useful for each case", "assistant_choose": "Choose what you want to analyse", "assistant_webpage_header": "Webpage link", "assistant_webpage_text": "Insert the link of a webpage, and the assistant will suggest the most useful tools for the contents of the given page.", "assistant_file_header": "Local file", "assistant_file_text": "The assistant will suggest the most useful tools depending on if the file is a video or image", "assistant_choose_tool": "Choose the tool you want to use", "upload_video": "Video", "upload_image": "Image", "assistant_urlbox": "URL", "assistant_give_url": "Give the URL of the page to analyse", "assistant_paste_url": "Paste the URL here", "please_give_a_correct_link": "The link provided is incorrect or not supported.", "button_analyse": "Analyse", "button_clean": "Remove", "save": "Save", "source_credibility_title": "Source Credibility", "source_credibility_byline": "The source has been found as part of a credibility check", "link_explorer_title": "Link Explorer", "link_explorer_byline": "The following URLs have been extracted from the page, and their domains have been checked for credibility", "text_title": "Text", "text_intro": "The following text has been found on the page", "dbkf_title": "DBKF Check", "expand_text": "Expand Text", "dbkf_error": "An issue has occurred when trying to connect to the database of known fakes. Some results may be omitted from this page. If the problem persists, please contact support.", "sc_failed": "The source credibility check has failed. Some results may not be displayed. If the problem persists, please contact support.", "link_tooltip": "What is this?The scores displayed in this section give an indication of how reliable the web source listed can be considered. Scores range from 0-100.In most cases, the source checked for credibility will be the URL domain. In some cases where this is not useful a more relevant part of the URL has been checked against. In all cases, the full URL and the domain against which the source credibility check was carried on are listed in the form URL : domain-for-check. How are these calculated?Various institutions analyse sources (particularly domains) across the web to evaluate how reliable they are likely to be based on various metrics.Here, datasets assessing web domain reliability have been pulled mainly from Open Sources and the WeVerify DBKF database.Since the metrics or scores from each of these sources do not necessarily overlap and cannot easily be compared, all scores from any given institution are mapped to a single number between 0-100.For any URL, a list of all institutions which gave the relevant domain a score has been listed, along with the (mapped) results they gave.The final result displayed for any domain is the lowest score from the various sources.", "media_title": "Media", "images_label": "Images", "videos_label": "Videos", "media_found": "The following media has been found on the page", "media_below": "Select the media you would like to verify", "media_to_process": "Media to Process", "assistant_error": "An unexpected assistant error has occurred. If the problem persists, contact support.", "things_you_can_do_header": "Potential Tools", "things_you_can_do": "Below are the tools you can use on this media type", "navbar_analysis_image": "Image Analysis", "navbar_analysis_video": "Video Analysis", "navbar_keyframes": "Keyframes", "navbar_thumbnails": "Thumbnails", "navbar_twitter": "Tw. search", "navbar_magnifier": "Magnifier", "navbar_metadata": "Metadata", "navbar_rights": "Video rights", "navbar_forensic": "Forensic", "navbar_ocr": "OCR", "navbar_twitter_sna": "Fact Check", "navbar_assistant": "Assistant", "assistant_help_title": "Assistant Help", "assistant_help_1": "The WeVerify toolkit (this plugin) has multiple tools which can help in the verification of content on social networks, designed to help journalists save time and be more efficient in their fact checking tasks.
A full list of these tools can be found in the tutorial section of this plugin.
Given the multiple tools and services available, the weverify assistant has been designed to guide users to the services available to them given the nature of the content they would like to check.
", "assistant_help_2": "How does the assistant work?
Users can choose to upload their own media to be checked (an image or a video), in which case verification tools on the plugin which support media upload will be listed.
An alternative option is to enter a URL which needs verification or fact checking.
Once a URL in entered, the assistant attempts to extract any text, images or videos it can find on the page.
Any extracted text or media are then used to suggest the potential actions which can be carried out. Currently, there are three major components to this:
- Text Checks: displaying any text found on the page, and running a selection of post processing/verification tools against it
- Media Checks: displaying any media found on the page, and if selected, giving the list of tools available on the WeVerify plugin to process selected media
- Verification Checks: checks against elements of the URL which do not fall under either text or media, such as the domain of the website
More information on each of these can be found in the links below.
", "assistant_help_3": "Which URLS are supported?
Currently, there is dedicated support for links for the following types of URLs:- Facebook photo or video posts
- Twitter statuses
- Youtube video links
- Instagram posts
- Tiktok posts
- Dailymotion video links
- Vimeo video links
- Liveleak video links
Other generic links can also be entered and the assistant will attempt to retrieve what it can. However, any results (particularly on the extraction of images and text) on generic links may be much more generalised.
", "assistant_help_4": "More information
For a detailed breakdown of the type of URLs supported by the assistant, see this page
For a detailed breakdown of the tools and checks run by the assistant, see: this page", "enter_url": "Enter URL", "mode_label": "URL mode", "url_text": "URL Text", "url_media": "URL Media", "media_text": "Extracted Media Text", "download_video": "The video has been extracted but cannot be processed using the direct URL. Please open it in a new tab using the link below, download it, and use the assistant to see which tools can be used on the downloaded video.", "text_warning": "Warnings found against text. See warning box.", "image_warning": "Warnings found against image. See warning box.", "warning_title": "Warning", "warning_subtitle": "Some elements of this content have been flagged", "status_title": "Status", "status_subtitle": "Note: one or more of the automated checks have resulted in an error. Some results may be omitted from this page.", "named_entity_title": "Text entities", "dbkf_image_warning": "The image from this URL has matched against the following from the database of known fakes with a similarity score of", "dbkf_video_warning": "The video from this URL has matched against the following from the database of known fakes with a similarity score of", "dbkf_text_warning": "The text from this URL has matched against the following from the database of known fakes", "labelled_as": "It has been labelled as:", "commented_as": "with the following comment :", "hp_warning": "The text from this URL has returned an unusually high hyperpartisan score of", "image_analysis_text": "Retrieve contextual information about the image", "video_analysis_text": "Retrieve contextual information about the video", "keyframes_text": "Fragment the video", "thumbnails_text": "Reverse search on thumbnails from the video", "magnifier_text": "Examine the image thoroughly", "metadata_text": "Retrieve image/video metadata", "rights_text": "Retrieve information solely about video rights", "forensic_text": "Detect any image manipulation", "ocr_text": "Extract any text from the image", "hyperpartisan_title": "Hyperpartisan service", "dbkf_text_title": "Database of known fakes text search", "dbkf_media_title": "Database of known fakes media search", "ne_title": "Named entity search", "ocr_title": "OCR search", "source_cred_title": "Source credibility service", "mt_title": "Machine translation service", "translate": "Translate (beta)", "copy_link": "Copy link", "archive_link": "Archive", "source_credibility_warning": "The domain or account has been mentioned in a lookup against:", "text_tooltip": "What is this?Any text which can be extracted from the given URL is displayed hereHow is this used?Various text processing tools are run against this text: - The language is detected and displayed
- The named entities in the text are extracted and displayed (people, locations, organisations etc.)
- The first 500 characters in the text are sent to be checked against the database of known fakes. The results of this check (if any) are listed in the Warnings section
For more information, see: this page", "media_tooltip": "What is this?Any images or videos which can be extracted from the URL have been displayed here.What can I do with these?For any selected image/video, a list of relevant tools from the plugin which can process this media are given. Selecting any of these will redirect the media to the selected tool. Alongside this, the assistant will reverse search the media against the database of known fakes. If any results are found, these will be displayed in the Warnings section. For more information, see: this page", "sc_tooltip": "What is this?For every URL entered, we run either the domain (if this is a non social media URL) or the account (if this is a social media URL) against our URL domain analysis service. The results of this check are shown here.What can I do with these? The domain analysis service intends to collect information about a domain/account from multiple sources. From here, we intend to inform the user whether any of the sources we collect from hold information on the domain/account of the URL entered. The result is split into three types: - Warning: domain listed by source which explicitly lists potentially untrustworthy domains
- Fact checker: domain listed by source which explicitly lists fact checkers
- Mentions: domain listed by source which lists a mix of trustworthy and untrustworthy domains
Since this is information collected from multiple sources, we have given the source we have taken the details from and if provided, any evidence the source itself has given so users can check the validity of claims made about a domain. For more information on sources and data collection, see this page", "source_cred_popup_header": "The domain/account has been found in the following reports listed by:", "url_domain_analysis": "URL Domain Analysis", "fact_checker": "Fact checker", "warning": "Warning", "mentions": "Mentions", "assistant_error_instagram": "The assistant has failed to retrieve this instagram post. Please open this URL in a new tab (you may need to log in to instagram), then use the ASSISTANT FOR CURRENT PAGE button to retry.", "assistant_error_server_error": "The assistant could not process the link provided due to a problem with the server, please try again later. If the problem persists please contact support.", "assistant_error_connection_error": "The assistant is having issues connecting to the server, please try again later.", "extracted_urls": "Extracted URLs", "extracted_urls_url_domain_analysis": "Extracted URLs with URL Domain Analysis", "extracted_urls_url_domain_analysis_failed": "Extracted URLs with URL Domain Analysis has failed.", "extracted_urls_tooltip": "What is this?For every URL extracted from the original URL, we run either the domain (if this is a non social media URL) or the account (if this is a social media URL) against our URL domain analysis service. The results of this check are shown here.What can I do with these? The domain analysis service intends to collect information about a domain/account from multiple sources. From here, we intend to inform the user whether any of the sources we collect from hold information on the domain/account of the URL entered. The result is split into three types: - Warning: domain listed by source which explicitly lists potentially untrustworthy domains
- Fact checker: domain listed by source which explicitly lists fact checkers
- Mentions: domain listed by source which lists a mix of trustworthy and untrustworthy domains
Since this is information collected from multiple sources, we have given the source we have taken the details from and if provided, any evidence the source itself has given so users can check the validity of claims made about a domain. For more information on sources and data collection, see this page","embedding_not_supported":"The Assistant could not display this video content."}
+{"assistant_title": "Assistant", "assistant_intro": "The assistant will help you to analyse a webpage, an image or a video file and suggest which WeVerify tools are useful for each case", "assistant_choose": "Choose what you want to analyse", "assistant_webpage_header": "Webpage link", "assistant_webpage_text": "Insert the link of a webpage, and the assistant will suggest the most useful tools for the contents of the given page.", "assistant_file_header": "Local file", "assistant_file_text": "The assistant will suggest the most useful tools depending on if the file is a video or image", "assistant_choose_tool": "Choose the tool you want to use", "upload_video": "Video", "upload_image": "Image", "assistant_urlbox": "URL", "assistant_give_url": "Give the URL of the page to analyse", "assistant_paste_url": "Paste the URL here", "please_give_a_correct_link": "The link provided is incorrect or not supported.", "button_analyse": "Analyse", "button_clean": "Remove", "save": "Save", "source_credibility_title": "Source Credibility", "source_credibility_byline": "The source has been found as part of a credibility check", "link_explorer_title": "Link Explorer", "link_explorer_byline": "The following URLs have been extracted from the page, and their domains have been checked for credibility", "text_title": "Text", "text_intro": "The following text has been found on the page", "dbkf_title": "DBKF Check", "expand_text": "Expand Text", "dbkf_error": "An issue has occurred when trying to connect to the database of known fakes. Some results may be omitted from this page. If the problem persists, please contact support.", "sc_failed": "The source credibility check has failed. Some results may not be displayed. If the problem persists, please contact support.", "link_tooltip": "What is this?The scores displayed in this section give an indication of how reliable the web source listed can be considered. Scores range from 0-100.In most cases, the source checked for credibility will be the URL domain. In some cases where this is not useful a more relevant part of the URL has been checked against. In all cases, the full URL and the domain against which the source credibility check was carried on are listed in the form URL : domain-for-check. How are these calculated?Various institutions analyse sources (particularly domains) across the web to evaluate how reliable they are likely to be based on various metrics.Here, datasets assessing web domain reliability have been pulled mainly from Open Sources and the WeVerify DBKF database.Since the metrics or scores from each of these sources do not necessarily overlap and cannot easily be compared, all scores from any given institution are mapped to a single number between 0-100.For any URL, a list of all institutions which gave the relevant domain a score has been listed, along with the (mapped) results they gave.The final result displayed for any domain is the lowest score from the various sources.", "media_title": "Media", "images_label": "Images", "videos_label": "Videos", "media_found": "The following media has been found on the page", "media_below": "Select the media you would like to verify", "media_to_process": "Media to Process", "assistant_error": "An unexpected assistant error has occurred. If the problem persists, contact support.", "things_you_can_do_header": "Potential Tools", "things_you_can_do": "Below are the tools you can use on this media type", "navbar_analysis_image": "Image Analysis", "navbar_analysis_video": "Video Analysis", "navbar_keyframes": "Keyframes", "navbar_thumbnails": "Thumbnails", "navbar_twitter": "Tw. search", "navbar_magnifier": "Magnifier", "navbar_metadata": "Metadata", "navbar_rights": "Video rights", "navbar_forensic": "Forensic", "navbar_ocr": "OCR", "navbar_twitter_sna": "Fact Check", "navbar_assistant": "Assistant", "assistant_help_title": "Assistant Help", "assistant_help_1": "The WeVerify toolkit (this plugin) has multiple tools which can help in the verification of content on social networks, designed to help journalists save time and be more efficient in their fact checking tasks.
A full list of these tools can be found in the tutorial section of this plugin.
Given the multiple tools and services available, the weverify assistant has been designed to guide users to the services available to them given the nature of the content they would like to check.
", "assistant_help_2": "How does the assistant work?
Users can choose to upload their own media to be checked (an image or a video), in which case verification tools on the plugin which support media upload will be listed.
An alternative option is to enter a URL which needs verification or fact checking.
Once a URL in entered, the assistant attempts to extract any text, images or videos it can find on the page.
Any extracted text or media are then used to suggest the potential actions which can be carried out. Currently, there are three major components to this:- Text Checks: displaying any text found on the page, and running a selection of post processing/verification tools against it
- Media Checks: displaying any media found on the page, and if selected, giving the list of tools available on the WeVerify plugin to process selected media
- Verification Checks: checks against elements of the URL which do not fall under either text or media, such as the domain of the website
More information on each of these can be found in the links below.
", "assistant_help_3": "Which URLS are supported?
Currently, there is dedicated support for links for the following types of URLs:- Facebook photo or video posts
- Twitter statuses
- Youtube video links
- Instagram posts
- Tiktok posts
- Dailymotion video links
- Vimeo video links
- Liveleak video links
Other generic links can also be entered and the assistant will attempt to retrieve what it can. However, any results (particularly on the extraction of images and text) on generic links may be much more generalised.
", "assistant_help_4": "More information
For a detailed breakdown of the type of URLs supported by the assistant, see this page
For a detailed breakdown of the tools and checks run by the assistant, see: this page", "enter_url": "Enter URL", "mode_label": "URL mode", "url_text": "URL Text", "url_media": "URL Media", "media_text": "Extracted Media Text", "download_video": "The video has been extracted but cannot be processed using the direct URL. Please open it in a new tab using the link below, download it, and use the assistant to see which tools can be used on the downloaded video.", "text_warning": "Warnings found against text. See warning box.", "image_warning": "Warnings found against image. See warning box.", "warning_title": "Warning", "warning_subtitle": "Some elements of this content have been flagged", "status_title": "Status", "status_subtitle": "Note: one or more of the automated checks have resulted in an error. Some results may be omitted from this page.", "named_entity_title": "Text entities", "dbkf_image_warning": "The image from this URL has matched against the following from the database of known fakes with a similarity score of", "dbkf_video_warning": "The video from this URL has matched against the following from the database of known fakes with a similarity score of", "dbkf_text_warning": "The text from this URL has matched against the following from the database of known fakes", "labelled_as": "It has been labelled as:", "commented_as": "with the following comment :", "hp_warning": "The text from this URL has returned an unusually high hyperpartisan score of", "image_analysis_text": "Retrieve contextual information about the image", "video_analysis_text": "Retrieve contextual information about the video", "keyframes_text": "Fragment the video", "thumbnails_text": "Reverse search on thumbnails from the video", "magnifier_text": "Examine the image thoroughly", "metadata_text": "Retrieve image/video metadata", "rights_text": "Retrieve information solely about video rights", "forensic_text": "Detect any image manipulation", "ocr_text": "Extract any text from the image", "hyperpartisan_title": "Hyperpartisan service", "dbkf_text_title": "Database of known fakes text search", "dbkf_media_title": "Database of known fakes media search", "ne_title": "Named entity search", "ocr_title": "OCR search", "source_cred_title": "Source credibility service", "mt_title": "Machine translation service", "translate": "Translate (beta)", "copy_link": "Copy link", "archive_link": "Archive", "source_credibility_warning": "The domain or account has been mentioned in a lookup against:", "text_tooltip": "What is this?Any text which can be extracted from the given URL is displayed hereHow is this used?Various text processing tools are run against this text: - The language is detected and displayed
- The named entities in the text are extracted and displayed (people, locations, organisations etc.)
- The first 500 characters in the text are sent to be checked against the database of known fakes. The results of this check (if any) are listed in the Warnings section
For more information, see: this page", "media_tooltip": "What is this?Any images or videos which can be extracted from the URL have been displayed here.What can I do with these?For any selected image/video, a list of relevant tools from the plugin which can process this media are given. Selecting any of these will redirect the media to the selected tool. Alongside this, the assistant will reverse search the media against the database of known fakes. If any results are found, these will be displayed in the Warnings section. For more information, see: this page", "sc_tooltip": "What is this?For every URL entered, we run either the domain (if this is a non social media URL) or the account (if this is a social media URL) against our URL domain analysis service. The results of this check are shown here.What can I do with these? The domain analysis service intends to collect information about a domain/account from multiple sources. From here, we intend to inform the user whether any of the sources we collect from hold information on the domain/account of the URL entered. The result is split into three types: - Warning: domain listed by source which explicitly lists potentially untrustworthy domains
- Fact checker: domain listed by source which explicitly lists fact checkers
- Mentions: domain listed by source which lists a mix of trustworthy and untrustworthy domains
Since this is information collected from multiple sources, we have given the source we have taken the details from and if provided, any evidence the source itself has given so users can check the validity of claims made about a domain. For more information on sources and data collection, see this page", "source_cred_popup_header": "The domain/account has been found in the following reports listed by:", "url_domain_analysis": "URL Domain Analysis", "fact_checker": "Fact checker", "warning": "Warning", "mentions": "Mentions", "assistant_error_instagram": "The assistant has failed to retrieve this instagram post. Please open this URL in a new tab (you may need to log in to instagram), then use the ASSISTANT FOR CURRENT PAGE button to retry.", "assistant_error_server_error": "The assistant could not process the link provided due to a problem with the server, please try again later. If the problem persists please contact support.", "assistant_error_connection_error": "The assistant is having issues connecting to the server, please try again later.", "extracted_urls": "Extracted URLs", "extracted_urls_url_domain_analysis": "Extracted URLs with URL Domain Analysis", "extracted_urls_url_domain_analysis_failed": "Extracted URLs with URL Domain Analysis has failed.", "extracted_urls_tooltip": "What is this?For every URL extracted from the original URL, we run either the domain (if this is a non social media URL) or the account (if this is a social media URL) against our URL domain analysis service. The results of this check are shown here.What can I do with these? The domain analysis service intends to collect information about a domain/account from multiple sources. From here, we intend to inform the user whether any of the sources we collect from hold information on the domain/account of the URL entered. The result is split into three types: - Warning: domain listed by source which explicitly lists potentially untrustworthy domains
- Fact checker: domain listed by source which explicitly lists fact checkers
- Mentions: domain listed by source which lists a mix of trustworthy and untrustworthy domains
Since this is information collected from multiple sources, we have given the source we have taken the details from and if provided, any evidence the source itself has given so users can check the validity of claims made about a domain. For more information on sources and data collection, see this page","embedding_not_supported":"The Assistant could not display this video content.", "assistant_video_download_action": "Download video", "assistant_video_download_action_description": "Click here to download the video, then use the assistant to see which tools can be used on the downloaded video."}
diff --git a/src/components/NavItems/Assistant/AssistantRuleBook.jsx b/src/components/NavItems/Assistant/AssistantRuleBook.jsx
index 4c4662c31..76c63ce7b 100644
--- a/src/components/NavItems/Assistant/AssistantRuleBook.jsx
+++ b/src/components/NavItems/Assistant/AssistantRuleBook.jsx
@@ -5,6 +5,7 @@ import magnifierIconOff from "../../NavBar/images/tools/magnifierOff.png";
import metadataIconOff from "../../NavBar/images/tools/metadataOff.png";
import videoRightsIconOff from "../../NavBar/images/tools/copyrightOff.png";
import forensicIconOff from "../../NavBar/images/tools/forensic_logoOff.png";
+import videoIconOff from "../../NavBar/images/tools/video_logoOff.png";
export const NE_SUPPORTED_LANGS = ["en", "pt", "fr", "de", "el", "es", "it"];
@@ -141,7 +142,7 @@ export const ASSISTANT_ACTIONS = [
KNOWN_LINKS.YOUTUBESHORTS,
KNOWN_LINKS.LIVELEAK,
KNOWN_LINKS.OWN,
- KNOWN_LINKS.TELEGRAM,
+ KNOWN_LINKS.INSTAGRAM,
],
cTypes: [CONTENT_TYPE.VIDEO],
exceptions: [],
@@ -222,6 +223,17 @@ export const ASSISTANT_ACTIONS = [
tsvPrefix: "ocr",
path: "tools/ocr",
},
+ {
+ title: "assistant_video_download_action",
+ icon: videoIconOff,
+ linksAccepted: [KNOWN_LINKS.TELEGRAM, KNOWN_LINKS.MISC],
+ cTypes: [CONTENT_TYPE.VIDEO],
+ exceptions: [],
+ useInputUrl: false,
+ text: "assistant_video_download_action_description",
+ tsvPrefix: "assistant_video",
+ download: true,
+ },
];
export const selectCorrectActions = (
diff --git a/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantProcessUrlActions.jsx b/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantProcessUrlActions.jsx
index 0fa20c077..2376f6942 100644
--- a/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantProcessUrlActions.jsx
+++ b/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantProcessUrlActions.jsx
@@ -28,20 +28,29 @@ const AssistantProcessUrlActions = () => {
(state) => state.assistant.processUrlActions,
);
- const handleClick = (path, resultUrl) => {
- if (resultUrl != null) {
+ const handleClick = (action) => {
+ const resultUrl = action.useInputUrl ? inputUrl : processUrl;
+ if (action.download) {
+ // Creates an A tag for downloading the video
+ let dl = document.createElement("a");
+ dl.setAttribute("href", resultUrl);
+ dl.setAttribute("download", "");
+ dl.click();
+ } else if (resultUrl != null) {
navigate(
"/app/" +
- path +
+ action.path +
"/" +
encodeURIComponent(resultUrl) +
"/" +
contentType,
);
- //history.push("/app/" + path + "/" + encodeURIComponent(resultUrl) + "/" + contentType)
+ //history.push("/app/" + action.path + "/" + encodeURIComponent(resultUrl) + "/" + contentType)
} else {
- navigate("/app/" + path + "/" + KNOWN_LINKS.OWN + "/" + contentType);
- //history.push("/app/" + path + "/" + KNOWN_LINKS.OWN + "/" + contentType)
+ navigate(
+ "/app/" + action.path + "/" + KNOWN_LINKS.OWN + "/" + contentType,
+ );
+ //history.push("/app/" + action.path + "/" + KNOWN_LINKS.OWN + "/" + contentType)
}
};
@@ -57,16 +66,9 @@ const AssistantProcessUrlActions = () => {
{processUrlActions.map((action, index) => {
return (
-
+
-
- handleClick(
- action.path,
- action.useInputUrl ? inputUrl : processUrl,
- )
- }
- >
+ handleClick(action)}>
diff --git a/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantVideoResult.jsx b/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantVideoResult.jsx
index b25aeaaad..07a22cc9e 100644
--- a/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantVideoResult.jsx
+++ b/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantVideoResult.jsx
@@ -40,7 +40,10 @@ const AssistantVideoResult = () => {
};
const downloadVideoFound = () => {
- return input_url_type === KNOWN_LINKS.INSTAGRAM;
+ switch (input_url_type) {
+ default:
+ return false;
+ }
};
const preprocessLinkForEmbed = (processUrl) => {