תוכנות כיצד מורידים סרטונים מהאתר החדש של כל רגע

  • הוסף לסימניות
  • #1
באתר הקודם היה אפשר להוריד ע"י לחיצה על המקש הימני בעכבר, עכשיו אני לא מצליח, האם יש למישהו פתרון.
תודה רבה
 
  • הוסף לסימניות
  • #2
יש אתרים שבהם אפשר ללחוץ על F12, לעבור לכרטיסיה network לסנן שיציג רק media ואז לרענן את הדף ולהפעיל את הסרטון, זה יופיע שם ברשימה, אפשר ללחוץ לחצן ימני ולפתוח בחלון חדש ואז יש כפתור הורדה,
יש אתרים שזה לא כך, אני לא יודע ספציפית באתר של כל רגע
 
  • הוסף לסימניות
  • #5
תשמרו את הקוד הזה כסימניה בדפדפן > כנסו לדף בו מופיע הוידאו > תלחצו על הסימניה > ייפתח חלונית להורדת הוידאו

JavaScript:
javascript:(async function(){function createUI(){const div=document.createElement('div');div.style.cssText='position:fixed;top:20px;right:20px;background:white;padding:20px;border-radius:8px;box-shadow:0 0 10px rgba(0,0,0,0.3);z-index:9999;direction:rtl;width:400px;';div.innerHTML=`<div style="position:relative"><div style="position:absolute;left:5px;top:0;cursor:pointer;padding:5px;" id="close-btn">✖</div><div id="video-selector" style="display:none;margin-bottom:15px;"><h3 style="margin:0 0 10px 0">בחר וידאו להורדה:</h3><div id="video-buttons" style="max-height:200px;overflow-y:auto;"></div></div><div id="quality-selector" style="margin-bottom:15px;"><h3 style="margin:0 0 10px 0">בחר איכות:</h3><div id="quality-buttons"></div></div><div id="download-progress" style="display:none"><h3 style="margin:0 0 10px 0">הורדת סרטון</h3><div style="width:100%;background:#eee;height:20px;border-radius:10px;overflow:hidden;"><div id="progress-bar" style="width:0%;height:100%;background:#4CAF50;transition:width 0.3s;"></div></div><div id="progress-status" style="margin-top:10px;text-align:center;color:#666;">ההורדה מתבצעת... אנא המתן</div><div id="progress-text" style="margin-top:5px;text-align:center;">0%</div><div id="debug-info" style="margin-top:10px;font-size:12px;max-height:200px;overflow-y:auto;background:#f5f5f5;padding:10px;"></div></div></div>%60;document.body.appendChild(div);document.getElementById('close-btn').onclick=()=>{if(confirm('האם אתה בטוח שברצונך לבטל את ההורדה?')){document.body.removeChild(div);}};return{showVideoButtons:(videos)=>{document.getElementById('video-selector').style.display='block';document.getElementById('quality-selector').style.display='none';const container=document.getElementById('video-buttons');videos.forEach((video,index)=>{const button=document.createElement('button');button.textContent=%60וידאו ${index+1}${video.title?%60 - ${video.title}%60:''}%60;button.style.cssText='margin:5px;padding:8px 15px;border:none;border-radius:4px;background:#4CAF50;color:white;cursor:pointer;width:100%;text-align:right;';button.onclick=()=>video.callback();container.appendChild(button);});},showQualityButtons:(qualities)=>{document.getElementById('quality-selector').style.display='block';const container=document.getElementById('quality-buttons');container.innerHTML='';qualities.forEach(quality=>{const button=document.createElement('button');button.textContent=quality.name;button.style.cssText='margin:5px;padding:8px 15px;border:none;border-radius:4px;background:#4CAF50;color:white;cursor:pointer;';button.onclick=()=>quality.callback();container.appendChild(button);});},startDownload:()=>{document.getElementById('video-selector').style.display='none';document.getElementById('quality-selector').style.display='none';document.getElementById('download-progress').style.display='block';},updateProgress:(percent,text)=>{document.getElementById('progress-bar').style.width=percent+'%';document.getElementById('progress-text').textContent=%60${Math.round(percent)}% ${text||''}%60;},addDebug:(text)=>{const debug=document.getElementById('debug-info');debug.innerHTML+=%60<div style="border-bottom:1px solid #ddd;padding:5px 0;">${text}</div>%60;debug.scrollTop=debug.scrollHeight;},remove:()=>document.body.removeChild(div)};}async function fetchM3u8Content(url,ui){try{ui.addDebug(%60מוריד M3U8 מ: ${url}%60);const response=await fetch(url);if(!response.ok)throw new Error(%60HTTP error! status: ${response.status}%60);const text=await response.text();ui.addDebug(%60קובץ M3U8 התקבל (${text.length} תווים)%60);return text;}catch(e){ui.addDebug(%60שגיאה בהורדת M3U8: ${e.message}%60);return null;}}function parseM3u8(content,ui){const lines=content.split('\n');const streams=[];let currentStream={};lines.forEach(line=>{line=line.trim();if(line.startsWith('#EXT-X-STREAM-INF:')){currentStream.info=line;}else if(line&&!line.startsWith('#')){currentStream.url=line;if(currentStream.info){const resolution=currentStream.info.match(/RESOLUTION=(\d+x\d+)/);const bandwidth=currentStream.info.match(/BANDWIDTH=(\d+)/);currentStream.name=resolution?resolution[1]:%60${Math.round(bandwidth[1]/1024)}Kbps%60;streams.push({...currentStream});currentStream={};}}});ui.addDebug(%60נמצאו ${streams.length} איכויות זמינות%60);return streams;}async function downloadSegments(url,baseUrl,ui){ui.addDebug(%60מוריד פלייליסט מ: ${url}%60);const playlistContent=await fetchM3u8Content(url,ui);if(!playlistContent)return[];const lines=playlistContent.split('\n');const segments=lines.filter(line=>line.trim()&&!line.startsWith('#')&&line.endsWith('.ts'));ui.addDebug(%60נמצאו ${segments.length} סגמנטים%60);const downloadedSegments=[];let totalSize=0;for(let i=0;i<segments.length;i++){let segmentUrl=segments[i];if(!segmentUrl.startsWith('http')){segmentUrl=baseUrl+segmentUrl;}try{const response=await fetch(segmentUrl);if(!response.ok)throw new Error(%60HTTP error! status: ${response.status}%60);const buffer=await response.arrayBuffer();const segmentSize=buffer.byteLength;totalSize+=segmentSize;downloadedSegments.push(new Uint8Array(buffer));ui.addDebug(%60סגמנט ${i+1} הורד: ${(segmentSize/1024/1024).toFixed(2)}MB%60);ui.updateProgress((i+1)/segments.length*100,%60(${i+1}/${segments.length}) סה"כ: ${(totalSize/1024/1024).toFixed(2)}MB%60);}catch(e){ui.addDebug(%60שגיאה בהורדת סגמנט ${i+1}: ${e.message}%60);}}return downloadedSegments;}function concatenateSegments(segments){const totalLength=segments.reduce((sum,segment)=>sum+segment.length,0);const result=new Uint8Array(totalLength);let offset=0;for(const segment of segments){result.set(segment,offset);offset+=segment.length;}return result;}function downloadBlob(data,filename){const blob=new Blob([data],{type:'video/mp4'});const url=URL.createObjectURL(blob);const a=document.createElement('a');a.href=url;a.download=filename;document.body.appendChild(a);a.click();document.body.removeChild(a);URL.revokeObjectURL(url);}function findM3u8Videos(){const videos=[];const videoElements=document.getElementsByTagName('video');for(let video of videoElements){if(video.src.includes('.m3u8')){videos.push({url:video.src,title:video.title||video.getAttribute('aria-label')||''});}let sources=video.getElementsByTagName('source');for(let source of sources){if(source.src.includes('.m3u8')){videos.push({url:source.src,title:video.title||video.getAttribute('aria-label')||''});}}}const pageSource=document.documentElement.innerHTML;const m3u8Matches=Array.from(pageSource.matchAll(/https?:\/\/[^"'\s]*\.m3u8/g));m3u8Matches.forEach(match=>{if(!videos.some(v=>v.url===match[0])){videos.push({url:match[0],title:''});}});return videos;}const ui=createUI();const videos=findM3u8Videos();if(videos.length===0){alert('לא נמצאו סרטוני m3u8 בדף זה');ui.remove();return;}if(videos.length===1){processVideo(videos[0].url);}else{ui.showVideoButtons(videos.map(video=>({title:video.title,callback:()=>processVideo(video.url)})));}async function processVideo(m3u8Url){const masterContent=await fetchM3u8Content(m3u8Url,ui);if(!masterContent){alert('שגיאה בטעינת קובץ ה-M3U8');ui.remove();return;}const baseUrl=m3u8Url.substring(0,m3u8Url.lastIndexOf('/')+1);const streams=parseM3u8(masterContent,ui);if(streams.length===0){alert('לא נמצאו איכויות זמינות');ui.remove();return;}const pageTitle=document.title.replace(/[<>:"/\\|?*]+/g,'-')||'video';const qualities=streams.map(stream=>({name:stream.name,callback:async()=>{ui.startDownload();const streamUrl=stream.url.startsWith('http')?stream.url:baseUrl+stream.url;const segments=await downloadSegments(streamUrl,baseUrl,ui);if(segments.length>0){const finalVideo=concatenateSegments(segments);downloadBlob(finalVideo,%60${pageTitle}-${stream.name}.mp4%60);}setTimeout(()=>ui.remove(),3000);}}));ui.showQualityButtons(qualities);}})();
 
  • הוסף לסימניות
  • #6
  • הוסף לסימניות
  • #8
  • הוסף לסימניות
  • #9
תשמרו את הקוד הזה כסימניה בדפדפן > כנסו לדף בו מופיע הוידאו > תלחצו על הסימניה > ייפתח חלונית להורדת הוידאו

JavaScript:
javascript:(async function(){function createUI(){const div=document.createElement('div');div.style.cssText='position:fixed;top:20px;right:20px;background:white;padding:20px;border-radius:8px;box-shadow:0 0 10px rgba(0,0,0,0.3);z-index:9999;direction:rtl;width:400px;';div.innerHTML=`<div style="position:relative"><div style="position:absolute;left:5px;top:0;cursor:pointer;padding:5px;" id="close-btn">✖</div><div id="video-selector" style="display:none;margin-bottom:15px;"><h3 style="margin:0 0 10px 0">בחר וידאו להורדה:</h3><div id="video-buttons" style="max-height:200px;overflow-y:auto;"></div></div><div id="quality-selector" style="margin-bottom:15px;"><h3 style="margin:0 0 10px 0">בחר איכות:</h3><div id="quality-buttons"></div></div><div id="download-progress" style="display:none"><h3 style="margin:0 0 10px 0">הורדת סרטון</h3><div style="width:100%;background:#eee;height:20px;border-radius:10px;overflow:hidden;"><div id="progress-bar" style="width:0%;height:100%;background:#4CAF50;transition:width 0.3s;"></div></div><div id="progress-status" style="margin-top:10px;text-align:center;color:#666;">ההורדה מתבצעת... אנא המתן</div><div id="progress-text" style="margin-top:5px;text-align:center;">0%</div><div id="debug-info" style="margin-top:10px;font-size:12px;max-height:200px;overflow-y:auto;background:#f5f5f5;padding:10px;"></div></div></div>%60;document.body.appendChild(div);document.getElementById('close-btn').onclick=()=>{if(confirm('האם אתה בטוח שברצונך לבטל את ההורדה?')){document.body.removeChild(div);}};return{showVideoButtons:(videos)=>{document.getElementById('video-selector').style.display='block';document.getElementById('quality-selector').style.display='none';const container=document.getElementById('video-buttons');videos.forEach((video,index)=>{const button=document.createElement('button');button.textContent=%60וידאו ${index+1}${video.title?%60 - ${video.title}%60:''}%60;button.style.cssText='margin:5px;padding:8px 15px;border:none;border-radius:4px;background:#4CAF50;color:white;cursor:pointer;width:100%;text-align:right;';button.onclick=()=>video.callback();container.appendChild(button);});},showQualityButtons:(qualities)=>{document.getElementById('quality-selector').style.display='block';const container=document.getElementById('quality-buttons');container.innerHTML='';qualities.forEach(quality=>{const button=document.createElement('button');button.textContent=quality.name;button.style.cssText='margin:5px;padding:8px 15px;border:none;border-radius:4px;background:#4CAF50;color:white;cursor:pointer;';button.onclick=()=>quality.callback();container.appendChild(button);});},startDownload:()=>{document.getElementById('video-selector').style.display='none';document.getElementById('quality-selector').style.display='none';document.getElementById('download-progress').style.display='block';},updateProgress:(percent,text)=>{document.getElementById('progress-bar').style.width=percent+'%';document.getElementById('progress-text').textContent=%60${Math.round(percent)}% ${text||''}%60;},addDebug:(text)=>{const debug=document.getElementById('debug-info');debug.innerHTML+=%60<div style="border-bottom:1px solid #ddd;padding:5px 0;">${text}</div>%60;debug.scrollTop=debug.scrollHeight;},remove:()=>document.body.removeChild(div)};}async function fetchM3u8Content(url,ui){try{ui.addDebug(%60מוריד M3U8 מ: ${url}%60);const response=await fetch(url);if(!response.ok)throw new Error(%60HTTP error! status: ${response.status}%60);const text=await response.text();ui.addDebug(%60קובץ M3U8 התקבל (${text.length} תווים)%60);return text;}catch(e){ui.addDebug(%60שגיאה בהורדת M3U8: ${e.message}%60);return null;}}function parseM3u8(content,ui){const lines=content.split('\n');const streams=[];let currentStream={};lines.forEach(line=>{line=line.trim();if(line.startsWith('#EXT-X-STREAM-INF:')){currentStream.info=line;}else if(line&&!line.startsWith('#')){currentStream.url=line;if(currentStream.info){const resolution=currentStream.info.match(/RESOLUTION=(\d+x\d+)/);const bandwidth=currentStream.info.match(/BANDWIDTH=(\d+)/);currentStream.name=resolution?resolution[1]:%60${Math.round(bandwidth[1]/1024)}Kbps%60;streams.push({...currentStream});currentStream={};}}});ui.addDebug(%60נמצאו ${streams.length} איכויות זמינות%60);return streams;}async function downloadSegments(url,baseUrl,ui){ui.addDebug(%60מוריד פלייליסט מ: ${url}%60);const playlistContent=await fetchM3u8Content(url,ui);if(!playlistContent)return[];const lines=playlistContent.split('\n');const segments=lines.filter(line=>line.trim()&&!line.startsWith('#')&&line.endsWith('.ts'));ui.addDebug(%60נמצאו ${segments.length} סגמנטים%60);const downloadedSegments=[];let totalSize=0;for(let i=0;i<segments.length;i++){let segmentUrl=segments[i];if(!segmentUrl.startsWith('http')){segmentUrl=baseUrl+segmentUrl;}try{const response=await fetch(segmentUrl);if(!response.ok)throw new Error(%60HTTP error! status: ${response.status}%60);const buffer=await response.arrayBuffer();const segmentSize=buffer.byteLength;totalSize+=segmentSize;downloadedSegments.push(new Uint8Array(buffer));ui.addDebug(%60סגמנט ${i+1} הורד: ${(segmentSize/1024/1024).toFixed(2)}MB%60);ui.updateProgress((i+1)/segments.length*100,%60(${i+1}/${segments.length}) סה"כ: ${(totalSize/1024/1024).toFixed(2)}MB%60);}catch(e){ui.addDebug(%60שגיאה בהורדת סגמנט ${i+1}: ${e.message}%60);}}return downloadedSegments;}function concatenateSegments(segments){const totalLength=segments.reduce((sum,segment)=>sum+segment.length,0);const result=new Uint8Array(totalLength);let offset=0;for(const segment of segments){result.set(segment,offset);offset+=segment.length;}return result;}function downloadBlob(data,filename){const blob=new Blob([data],{type:'video/mp4'});const url=URL.createObjectURL(blob);const a=document.createElement('a');a.href=url;a.download=filename;document.body.appendChild(a);a.click();document.body.removeChild(a);URL.revokeObjectURL(url);}function findM3u8Videos(){const videos=[];const videoElements=document.getElementsByTagName('video');for(let video of videoElements){if(video.src.includes('.m3u8')){videos.push({url:video.src,title:video.title||video.getAttribute('aria-label')||''});}let sources=video.getElementsByTagName('source');for(let source of sources){if(source.src.includes('.m3u8')){videos.push({url:source.src,title:video.title||video.getAttribute('aria-label')||''});}}}const pageSource=document.documentElement.innerHTML;const m3u8Matches=Array.from(pageSource.matchAll(/https?:\/\/[^"'\s]*\.m3u8/g));m3u8Matches.forEach(match=>{if(!videos.some(v=>v.url===match[0])){videos.push({url:match[0],title:''});}});return videos;}const ui=createUI();const videos=findM3u8Videos();if(videos.length===0){alert('לא נמצאו סרטוני m3u8 בדף זה');ui.remove();return;}if(videos.length===1){processVideo(videos[0].url);}else{ui.showVideoButtons(videos.map(video=>({title:video.title,callback:()=>processVideo(video.url)})));}async function processVideo(m3u8Url){const masterContent=await fetchM3u8Content(m3u8Url,ui);if(!masterContent){alert('שגיאה בטעינת קובץ ה-M3U8');ui.remove();return;}const baseUrl=m3u8Url.substring(0,m3u8Url.lastIndexOf('/')+1);const streams=parseM3u8(masterContent,ui);if(streams.length===0){alert('לא נמצאו איכויות זמינות');ui.remove();return;}const pageTitle=document.title.replace(/[<>:"/\\|?*]+/g,'-')||'video';const qualities=streams.map(stream=>({name:stream.name,callback:async()=>{ui.startDownload();const streamUrl=stream.url.startsWith('http')?stream.url:baseUrl+stream.url;const segments=await downloadSegments(streamUrl,baseUrl,ui);if(segments.length>0){const finalVideo=concatenateSegments(segments);downloadBlob(finalVideo,%60${pageTitle}-${stream.name}.mp4%60);}setTimeout(()=>ui.remove(),3000);}}));ui.showQualityButtons(qualities);}})();
וז"ל, הדף הזה לא עובד. עכ"ל.
 
  • הוסף לסימניות
  • #14
  • הוסף לסימניות
  • #15
  • הוסף לסימניות
  • #16
@shraga0 מענין לענין...
אולי יש לך קוד להורדה מיוטיוב שנטפרי לא חוסם?
תודה!!
 
  • הוסף לסימניות
  • #17
העתקתי הכל וזה מה שכרום כותב לי.
זו איבה אישית של גוגל נגדי? :unsure:
גם אתי גוגל התחיל
תנסה כך
תקח סימניה קיימת כבר בדפדפן, תלחץ עליה עם עכבר ימין, תבחר ''עריכה'', ובכתובת אתר תדביק את השורה הארוכה דלעיל.
כך גוגל מבין.
 
  • הוסף לסימניות
  • #18
@shraga0 מענין לענין...
אולי יש לך קוד להורדה מיוטיוב שנטפרי לא חוסם?
תודה!!
כרגע לפי מה שידוע לי הדרך היחידה להוריד בנטפרי זה רק באמצעות yt-dlp יש הדרכה כאן https://wiki.netfree.link/wiki/שימוש_באתר_יוטיוב_בנטפרי
יש שם כמה שיטות,
אני משתמש בשיטה הזו שכתובה שם:
קוד:
וינדוס/לינוקס/מאק: הורדה באמצעות שורת פקודה (yt-dlp)
ניתן להשתמש בפרויקט yt-dlp המאפשר הורדת סרטונים באמצעות שורת הפקודה.
התוכנה מאפשרת הרבה מאוד אפשרויות, וגם מי שאינו מורגל בשימוש עם שורת פקודה יכול ללמוד בקלות את השימוש בה.
הוראות התקנה ניתן למצוא בתיעוד של הפרויקט בגיטהב, התקנה בווינדוס לדוגמא:
https://github.com/yt-dlp/yt-dlp/wiki/Installation#windows
מכיוון והתוכנה מכילה קובץ תעודות מובנה ולא בודקת את תעודות מערכת ההפעלה, היא לא סומכת על התעודה של נטפרי ולכן יש להוסיף דגל התעלמות מהתעודה.
--no-check-certificate

פקודת הורדת סרטון לדוגמא:

yt-dlp youtube.com/watch?v=gKQ03lTsRWI --no-check-certificate
וזה עובד מצוין

אולי מישהו ירצה לבנות תוסף לדפדפן שמשתמש בזה כאשר התוכנה מותקנת במחשב - תבוא עליו ברכה.
 
  • הוסף לסימניות
  • #19
מי שלא עובד לו כל האופציות שיבדוק את ffmpeg זה הורדה של סטרימינג ויכול לשמש גם לעוד דברים. (יש עוד אופציה לעשות את זה בנגן VLC, אבל משהו מסתבך לי, הוא יודע רק להציג את הסרטונים ולא להוריד אותם)
 

פרוגבוט

תוכן שיווקי
פרסומת

פוסטים חדשים שאולי לא קראת....

הצטרפות לניוזלטר

איזה כיף שהצטרפתם לניוזלטר שלנו!

מעכשיו, תהיו הראשונים לקבל את כל העדכונים, החדשות, ההפתעות בלעדיות, והתכנים הכי חמים שלנו בפרוג!

לוח מודעות

הפרק היומי

הפרק היומי! כל ערב פרק תהילים חדש. הצטרפו אלינו לקריאת תהילים משותפת!


תהילים פרק כה

אלְדָוִד אֵלֶיךָ יי נַפְשִׁי אֶשָּׂא:באֱלֹהַי בְּךָ בָטַחְתִּי אַל אֵבוֹשָׁה אַל יַעַלְצוּ אֹיְבַי לִי:גגַּם כָּל קוֶֹיךָ לֹא יֵבֹשׁוּ יֵבֹשׁוּ הַבּוֹגְדִים רֵיקָם:דדְּרָכֶיךָ יי הוֹדִיעֵנִי אֹרְחוֹתֶיךָ לַמְּדֵנִי:ההַדְרִיכֵנִי בַאֲמִתֶּךָ וְלַמְּדֵנִי כִּי אַתָּה אֱלֹהֵי יִשְׁעִי אוֹתְךָ קִוִּיתִי כָּל הַיּוֹם:וזְכֹר רַחֲמֶיךָ יי וַחֲסָדֶיךָ כִּי מֵעוֹלָם הֵמָּה:זחַטֹּאות נְעוּרַי וּפְשָׁעַי אַל תִּזְכֹּר כְּחַסְדְּךָ זְכָר לִי אַתָּה לְמַעַן טוּבְךָ יי:חטוֹב וְיָשָׁר יי עַל כֵּן יוֹרֶה חַטָּאִים בַּדָּרֶךְ:טיַדְרֵךְ עֲנָוִים בַּמִּשְׁפָּט וִילַמֵּד עֲנָוִים דַּרְכּוֹ:יכָּל אָרְחוֹת יי חֶסֶד וֶאֱמֶת לְנֹצְרֵי בְרִיתוֹ וְעֵדֹתָיו:יאלְמַעַן שִׁמְךָ יי וְסָלַחְתָּ לַעֲוֹנִי כִּי רַב הוּא:יבמִי זֶה הָאִישׁ יְרֵא יי יוֹרֶנּוּ בְּדֶרֶךְ יִבְחָר:יגנַפְשׁוֹ בְּטוֹב תָּלִין וְזַרְעוֹ יִירַשׁ אָרֶץ:ידסוֹד יי לִירֵאָיו וּבְרִיתוֹ לְהוֹדִיעָם:טועֵינַי תָּמִיד אֶל יי כִּי הוּא יוֹצִיא מֵרֶשֶׁת רַגְלָי:טזפְּנֵה אֵלַי וְחָנֵּנִי כִּי יָחִיד וְעָנִי אָנִי:יזצָרוֹת לְבָבִי הִרְחִיבוּ מִמְּצוּקוֹתַי הוֹצִיאֵנִי:יחרְאֵה עָנְיִי וַעֲמָלִי וְשָׂא לְכָל חַטֹּאותָי:יטרְאֵה אוֹיְבַי כִּי רָבּוּ וְשִׂנְאַת חָמָס שְׂנֵאוּנִי:כשָׁמְרָה נַפְשִׁי וְהַצִּילֵנִי אַל אֵבוֹשׁ כִּי חָסִיתִי בָךְ:כאתֹּם וָיֹשֶׁר יִצְּרוּנִי כִּי קִוִּיתִיךָ:כבפְּדֵה אֱלֹהִים אֶת יִשְׂרָאֵל מִכֹּל צָרוֹתָיו:
נקרא  2  פעמים
למעלה