Download video from Telegram given the URL - telegram

I have a message link on Telegram such as https://t.me/channelName/1234 , which is a video.
How do I download it programatically? I want to plug the link into a script and have it downloaded to my local hard drive.
Can't find any semblance of a tutorial on this online. Thanks

Related

What exactly is RichWidgets/Popup_Upload.aspx

I have detected RichWidgets/Popup_Upload page in one of the tests and we can send a POST request to the webpage. And when I looked at it online, I saw that there are thousands of domains using this RichWidget.
In order to understand if we can upload malicious files with this upload functionality, I just want to install it locally and try that but can not find this Popup_Upload endpoint anywhere or any blogs about it. I found the following github repo and online demo of the widgets but there is no upload function in this repo.
Links:
https://github.com/richwidgets/richwidgets
http://www.richwidgets.io/
Is there anyone who knows what this is and where can I find the source files to read?
RichWidgets/Popup_Upload.aspx is actually one of the widgets that is used in the OutSystems Platform.
Reference:
https://andrefmota.outsystemscloud.com/RichWidgetsSample/PopupUpload.aspx

Telegram not updating link preview from github

I changed my profile picture on github quite some time ago, but whenever I share a link to any of my repositories via telegram, it still displays old profile pic. If I share it via skype, correct image is displayed.
I tried to use webpage bot and /updatepreview command, it says that "Link previews was updated successfully. Check them out!" but the image is still the same (not updated)!
How can I make telegram clean cache for links from my github account?
I used webpagebot like this answer from another thread to fix my GitHub avatar and it is working for me.
After giving the URL to the bot, I had to push Update with Content.
Have you tried appending /?v=n at the end of the URL when sharing the link? n can be any number but should be increasing after every update you make

Can I create a link from a website which opens Wechat app on a mobile?

I know that I can post a QR code and if someone scans it on their phone, it will open Wechat app.
But what if they are already on their phone, browsing the site? They obviously cannot scan the QR code if they are on the mobile.
I read in another question that Wechat removed the use of URL protocols.
This leaves me with a problem.
If a user is on their mobile phone browsing a website, and the website wants to link to their Wechat profile so that the user can click or do something to open their Wechat app to the profile, how do I do it?
On the desktop version of my site, I show a QR code. On the mobile version of the site, showing the QR code doesn't mean much if they are already on their phone and can't scan the code! How do I link the Wechat profile so it opens the app and they can connect with me?
Do I simply have to show my username and they have to go open the app and look me up manually? Is that the only option?
You can use WeChat - that will open the WeChat app on the user's phone.
At the moment, there's no way to open the app to a specific user or profile.

pull Vimeo download link in wordpress post

I am a Vimeo Pro user and they have an option of downloading my videos. My concern so far is once i publish the video download URL in a membership site and a person distributes it over the web, i have no control over it but to delete the video itself.
I was told i can generate the download URL through the Vimeo API to come up with expiring download links. But when I tried to get a video download URL through the API playground, it seems it expires after a certain period of time. If I go this way, that means I have to replace my video download URL's in my wordpress site every time a URL expired.
Is there a way for me to pull the non-expiring download URL of the video but the users in my Wordpress site see an expiring download link when they click on it - like Amazon S3 download URLs?
If there is, what are the codes needed and where would I place the codes in Wordpress core files like functions.php etc?
Thanks for your help and instructions from the basic steps.
I can't give wordpress specific examples, but one way might be to create your own wordpress page that generates the download link, and redirects your user to the download link.
Then you can control access via the wordpress link

APIs to get most downloaded Files details from Google Analytics

We need to track the count of File Downloaded through Google Analytics.
We found that, through below code we can track the file download :
Download my file
This works fine.
But, in our website we want to show most downloaded(top 5) files in a specific section.
So, can anyone suggest that is such API available in Google Analytics to retrive top N number of downloads? Or should we go with the Custom tracking implementation to achieve this feature?
Thanks in advance,
Ashish Shukla

Resources