4
I’m trying to extract the URL directly from Blogger by php or the page source code
the URL I want to extract is:
https://www.blogger.com/video-play.mp4?contentId=3506042769269f95
the direct URL (Token URL) I want to get is:
https://www.blogger.com/video.g?token=AD6v5dz0uwopNrKXORmGgs7ejV3_FJScdWnQvWz_DhYSuw8vReBV2Yhy12AAGhNWcshcza0dhVKqaiq2mgdFKG8ZPg9vQKpsU5gQVab4FzYeJTT9gMg81c679_k1TZevU2abOH8ad6Rn
v
$string = "https://www.blogger.com/video-play.mp4?contentId=3506042769269f95";
preg_match_all('https://www.blogger.com/video.g?token=', $string, $match);
echo "<pre>";
print_r($match[0]);
echo "</pre>";
v
Array
(
[0] => https://www.blogger.com/video.g?token=AD6v5dz0uwopNrKXORmGgs7ejV3_FJScdWnQvWz_DhYSuw8vReBV2Yhy12AAGhNWcshcza0dhVKqaiq2mgdFKG8ZPg9vQKpsU5gQVab4FzYeJTT9gMg81c679_k1TZevU2abOH8ad6Rn
)
Or extract the URL from the page’s source code:
view-source:https://www.blogger.com/video-play.mp4?contentId=3506042769269f95
and get the URL token:
Array (
[error] => O vídeo esta indisponível
[extract] => https://www.blogger.com/video.g?token=AD6v5dz0uwopNrKXORmGgs7ejV3_FJScdWnQvWz_DhYSuw8vReBV2Yhy12AAGhNWcshcza0dhVKqaiq2mgdFKG8ZPg9vQKpsU5gQVab4FzYeJTT9gMg81c679_k1TZevU2abOH8ad6Rn
)
Note: I don’t want to extract >> "AD6v5dz0uwopNrKXORmGgs7ejV3_FJScdWnQvWz_DhYSuw8vReBV2Yhy12AAGhNWcshcza0dhVKqaiq2mgdFKG8ZPg9vQKpsU5gQVab4FzYeJTT9gMg81c679_k1TZevU2abOH8ad6Rn"
and yes >>
"https://www.blogger.com/video.g?token=AD6v5dz0uwopNrKXORmGgs7ejV3_FJScdWnQvWz_DhYSuw8vReBV2Yhy12AAGhNWcshcza0dhVKqaiq2mgdFKG8ZPg9vQKpsU5gQVab4FzYeJTT9gMg81c679_k1TZevU2abOH8ad6Rn"
OF THE URL:
"https://www.blogger.com/video-play.mp4?contentId=3506042769269f95"
- Any idea how I can do this?
- All help is welcome!
- Thank you!
I’m looking for something similar to access the blogger’s videos, but since the old function stopped working, I only found this site that can access the videos with this URL https://tudogostoso.blog/make/check/? list=e6dac2f91a67e518?
– Endou
Some sites have the built-in API to get these videos (or even directly from Google Drive), which they keep up to date, but to find out how they did it just by contacting the site owner, if they want to give you the knowledge
– João Victor
I can’t get information from the site owner, but it is possible to see the API that was used by changing the last letters of the list= that the api appears. but I haven’t yet deciphered how I asked the question here https://answall.com/questions/414450/acessar-conte%C3%bado-atr%C3%a1ves-de-api-blogger the data I was able to extract from the url
– Endou