Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.
-
AuthorPosts
-
-
January 11, 2021 at 10:07 am #2491
Hello,
I am using your Youtubomatic plugin to pull Youtube videos and publish them as posts on my website. It works great for this.
It is able to take the entire video description on Youtube and add it to the post. However, Youtube posts often have a description of the video then a large amount of template text at the bottom of the video description. It will usually have social media links or disclaimers which are not desired in my website posts.
Is there a way for Youtubomatic to be able to filter out this text based on a specified word / phrase?
Here is an example video description (below). If I could specify the phrase “★Follow Exodus on Social Media★” to Youtubomatic, then it would know to delete this phrase and any text after it. So the video description would change as follows.
<span style=”text-decoration: underline;”>BEFORE</span>
What is Tron Trx? The Tron blockchain and Tron coin, TRX, continue to remain a top alt-coin. As Justin Sun put it, if Ethereum is an iPhone, Tron is Andriod.
★Follow Exodus on Social Media★
🐥 https://twitter.com/exodus_io
🎭 https://www.facebook.com/exodus.io
📸 https://www.instagram.com/exodus_io/This content is for informational purposes only and is not investment advice. You should consult a qualified licensed advisor before engaging in any transaction.
<span style=”text-decoration: underline;”>AFTER</span>
What is Tron Trx? The Tron blockchain and Tron coin, TRX, continue to remain a top alt-coin. As Justin Sun put it, if Ethereum is an iPhone, Tron is Andriod.
-
January 11, 2021 at 1:33 pm #2492
Hello,
First of all, thank you for your purchase.
What you request was not possible until now, however, I updated the plugin to v2.6.2 and added two new settings fields in importing rule settings:
‘Run Regex On Content’ and ‘Replace Matches From Regex’
Using these, you will be able to write Regex expressions to match, replace and remove content from the imported video description.
You can use this example expression to remove everything that is located after “Follow Exodus on Social Media”:
Follow Exodus on Social Media[\s\S]+
This should be added in the ‘Run Regex On Content’ settings field.
Tutorial video for Regex feature: https://www.youtube.com/watch?v=i38j6o5wN2w
Regards, Szabi – CodeRevolution.
-
January 11, 2021 at 2:32 pm #2493
Thank you so much! This was exactly what I needed. I appreciate you putting together the regex expression for me as well. Your plugins are great!
-
January 11, 2021 at 4:09 pm #2494
I am happy to help! 🙂
If you like my plugins, please give them a rating on CodeCanyon, it is really appreciated. 😉
Regards,
Szabi – CodeRevolution.
-
-
AuthorPosts
The topic ‘Trim (Shorten) Video Description Based on Word / Phrase’ is closed to new replies.