Get download link from Youtube - youtube

When I enter the following in Chrome Developer Tools, Console:
document.getElementsByTagName('video')[0].src
I get:
"blob:https://www.youtube.com/7c1da720-75e6-49f4-86a9-a08d4a00c63b"
But I can't access this video with the http link above, how can I do it?

Related

Download video from site that required login and doesn't allow copy URL

I am a newbie and I need to download videos from this learning site for offline use. The most I have tried is using dev tools on Chorme and that doesnt help. Also when right-clicking, the copy URL option greyed out. On the Network tab i can see that its getting the video from other site which is blocked for me (403 forbidden).
I've found similar thread but it doesnt help alot too: Download video from a website which requires login and doesn't have URL
And the link's here but it required login: https://dathouzz.edu.vn/lesson/10853-2/
Can anyone tell me the idea to do this?

Spotify Integration failing with openURL Swift

I am integrating Spotify in one of my application. I am getting the following error inspite of adding required URL schemes in info.plist:
-canOpenURL: failed for URL: "spotify:" - error: "(null)"
Thanks in advance.
From what I have read in other discussion forums make sure that after you have added the redirect_uri in the developer portal from Spotify, also save your changes its all the way at bottom up.
I'm also having issues with this an using swift I get a 200 code and a web page printed in my console as plain html, when I put it in chrome is a 404 page.
Also another tip:
Im using http://localhost:8888/callback as my redirect uri after running a simple nodejs server.
I'm having a doubt about this url encoding inside query string as the examples show %3A%2A%2A for :// and when I print the entire URL it doesn't show them like that

Slack URL to open a channel from browser

This iTunes URL will open The Hitchhiker's Guide to the Galaxy in your iTunes:
itmss://itunes.apple.com/us/audiobook/hitchhikers-guide-to-galaxy/id315596797
This Spotify URL will open ALL by the Descendents in Spotify:
spotify:track:22feF2sbtGydtvx1OeLSih
Does Slack have a URL scheme to open a #channel in the Slack app from a link?
I want to put a link on my team's site that can link to the Slack #channel we use, for use by other people in the company.
Referencing a channel within a conversation
To create a clickable reference to a channel in a Slack conversation, just type # followed by the channel name. For example: #general.
To grab a link to a channel through the Slack UI
To share the channel URL externally, you can grab its link by control-clicking (Mac) or right-clicking (Windows) on the channel name:
The link would look like this:
https://yourteam.slack.com/messages/C69S1L3SS
Note that this link doesn't change even if you change the name of the channel. So, it is better to use this link rather than the one based on channel's name.
To compose a URL for a channel based on channel name
https://yourteam.slack.com/channels/<channel_name>
Opening the above URL from a browser would launch the Slack client (if available) or open the slack channel on the browser itself.
To compose a URL for a direct message (DM) channel to a user
https://yourteam.slack.com/channels/<username>
Sure you can:
https://<organization>.slack.com/messages/<channel>/
for example:
https://tikal.slack.com/messages/general/ (of course that for accessing it, you must be part of the team)
The URI to open a specific channel in Slack app is:
slack://channel?id=<CHANNEL-ID>&team=<TEAM-ID>
You will probably need these resources of the Slack API to get IDs of your team and channel:
GET https://slack.com/api/team.info
GET https://slack.com/api/channels.list?exclude_archived=1
Here's the full documentation from Slack
This link opens the channel in the browser
https://<org-name>.slack.com/channels/<channel-name>
This link opens up the slack channel in the App
https://<org-name>.slack.com/archives/<channel-name>
You can use
slack://
in order to open the Slack desktop application.
For example, on mac, I've run:
open slack://
from the terminal and it opens the Mac desktop Slack application.
Still, I didn't figure out the URL that should be used for opening a certain team, channel or message.
When I tried yorammi's solution I was taken to Slack, but not the channel I specified.
I had better luck with:
https://<organization>.slack.com/messages/#<channel>/
and
https://<organization>.slack.com/messages/<channel>/details/
Although, they were both still displayed in a browser window and not the app.

Post video on Facebook Page

I'm posting a video to a Facebook profile using the iOS SDK, and it works okey. But when I try to use the same code, and post the native video to a Facebook Page, it fails with the following error:
(#200) App does not have permission to post to target
I'm using the right URL (https://graph-video.facebook.com/pageID/videos) and also I have replaced the user session token, with the Page token.
In fact, posting a photo works okey. But not a video.
What does it mean that "the app does not have permission to post to target"? Should I use a special permission in order to post a video on a page?
Thanks!
There is a bug in the Facebook's video upload code, which hasn't been fixed yet. You can track the updates on this bug using this link.

Instagram redirect URI doesn't match or some time safari says "Cannot open because invalid address" + iOS native app

I'm using this iOS Library https://github.com/crino/instagram-ios-sdk to login to instagram from my native app for sharing and getting feed from Instagram APIs. When i brought classes from this demo app to my project, here it is what happens:
Application successfully opens Authorization URL in safari and when i enter my credentials & authorize, it says "Safari cannot open address because its invalid" before redirecting to app or some time says "Redirect URI does not match registered URI".
Any help on this is appreciated.
You have to add URL scheme to your application's plist file, it's mentioned in short guide on github instragram page:
Make sure you've edited your application's .plist file properly, so that your applicaition binds to the ig[clientId]:// URL scheme (where [clientId] is your Instagram application CLIENT ID).
Here you'll find more information, see this article on TutsPlus: iOS SDK Working With URL Schemes
That error indicates that the URI you gave it is not handled by anything in the phone.
For example - the skype uri looks like skype:
IF skype is installed, it opens skype.
If skype is NOT installed, you get that same error.
You are either using the wrong URI (probably because you got the client-id wrong - do not include the [] in it), or, you do not have the Instagram app installed on your iOS device, or possibly you've messed with your instagram account and the app is not listening to that URI anymore.

Resources