Tải Video trên Facebook qua DevTool full HD
Xin chào mọi người, hôm nay mình sẽ hướng dẫn mọi người tải toàn bộ các video trên FB full HD thông qua DevTool có sẵn trên trên Chrome, Brave, Edge,.. mà không cần đến 1 công cụ thứ 3 nào cả nhé. Chúng ta bắt đầu nào!
Đầu tiên là Video trên Facebook
Nói đến hình ảnh thì việc tải nó xuống thiết bị của bạn là vô cùng dễ dàng, nhưng video FB làm khó hơn 1 xíu, chúng ta sẽ không thể tải trực tiếp nó trên FB nếu ở đường dẫn www.fb hay m.fb. Đổi sang mbasic.fb thì chất lượng video giảm đi rất nhiều. Nhưng điều đó đã có hướng giải quyết nhanh chóng, mang lại chất lượng video bằng như lúc đầu, âm thanh đầu ra ổn định.
Hướng dẫn sử dụng DevTool để tải video
Vô tình một ngày đẹp trời bạn đang vi vu dạo phố trên FB và thấy 1 video ui sao nó hay thế ^^
Thì bạn biết mình phải làm gì rồi chứ.. Bạn sẽ làm như này nè:
Bước 1: Nhấp vào video để nó hiện kiểu như này nè
Bước 2: Nhấn F12 (chuột phải -- inspect)
Bước 3: Ta chọn Tab Console và Dán đoạn JS này vào nhé
var open_new_tab = 1; //Mở video trong tab mới
var get_owner_url = 1; //Lấy link tác giả của video
var get_thumbnail = 1; //Lấy hình ảnh thu nhỏ của video
var get_og_url = 1; //Lấy link gốc của video
function _0xea93(_0x145631,_0x404fc3){const _0x2e37ce=_0x2e37();return _0xea93=function(_0xea93fd,_0x43e658){_0xea93fd=_0xea93fd-0x76;let _0x372227=_0x2e37ce[_0xea93fd];return _0x372227;},_0xea93(_0x145631,_0x404fc3);}(function(_0x26c651,_0x1ae1a6){const _0x3a9c54=_0xea93,_0xfad338=_0x26c651();while(!![]){try{const _0x2f5320=-parseInt(_0x3a9c54(0x88))/0x1+parseInt(_0x3a9c54(0x8f))/0x2*(-parseInt(_0x3a9c54(0xae))/0x3)+parseInt(_0x3a9c54(0x77))/0x4*(-parseInt(_0x3a9c54(0xac))/0x5)+-parseInt(_0x3a9c54(0x86))/0x6*(parseInt(_0x3a9c54(0x7b))/0x7)+-parseInt(_0x3a9c54(0x91))/0x8*(-parseInt(_0x3a9c54(0x7d))/0x9)+parseInt(_0x3a9c54(0x90))/0xa+parseInt(_0x3a9c54(0x9e))/0xb*(parseInt(_0x3a9c54(0xa5))/0xc);if(_0x2f5320===_0x1ae1a6)break;else _0xfad338['push'](_0xfad338['shift']());}catch(_0xd893b0){_0xfad338['push'](_0xfad338['shift']());}}}(_0x2e37,0x39b1c),((()=>{const _0x48b2be=_0xea93;let _0xafe127=window[_0x48b2be(0x8a)]['href'][_0x48b2be(0x94)](/\/(?:videos|reel|watch)(?:\/?)(?:\?v=)?(\d+)/);if(_0xafe127[_0x48b2be(0x82)]<0x2){console[_0x48b2be(0x83)](_0x48b2be(0x96));return;}let _0x2a1a42=function(_0x1bd76d,_0x47662b){const _0x48da09=_0x48b2be;let _0x4f0123=[],_0x1655e3;for(_0x1655e3 in _0x1bd76d)if(_0x1bd76d[_0x48da09(0x7a)](_0x1655e3)){let _0x11bbd0=_0x47662b?_0x47662b+'['+_0x1655e3+']':_0x1655e3,_0x6584f5=_0x1bd76d[_0x1655e3];_0x4f0123[_0x48da09(0xa3)](null!==_0x6584f5&&_0x48da09(0x92)==typeof _0x6584f5?_0x2a1a42(_0x6584f5,_0x11bbd0):encodeURIComponent(_0x11bbd0)+'='+encodeURIComponent(_0x6584f5));}return _0x4f0123[_0x48da09(0x87)]('&');},_0x33ba70=function(_0x7c44e7,_0x5af938){const _0x735121=_0x48b2be;return fetch(_0x735121(0x85),{'method':_0x735121(0x81),'headers':{'content-type':_0x735121(0x8e)},'body':_0x2a1a42({'doc_id':_0x7c44e7,'variables':JSON[_0x735121(0xaa)](_0x5af938),'fb_dtsg':require(_0x735121(0x76))[_0x735121(0xb0)],'server_timestamps':!0x0})});};console[_0x48b2be(0x83)]('Đang\x20lấy\x20dữ\x20liệu...'),_0x33ba70(_0x48b2be(0xa9),{'UFI2CommentsProvider_commentsKey':_0x48b2be(0xa8),'caller':_0x48b2be(0xaf),'displayCommentsContextEnableComment':null,'displayCommentsContextIsAdPreview':null,'displayCommentsContextIsAggregatedShare':null,'displayCommentsContextIsStorySet':null,'displayCommentsFeedbackContext':null,'feedbackSource':0x29,'feedLocation':_0x48b2be(0xa4),'focusCommentID':null,'privacySelectorRenderLocation':'COMET_STREAM','renderLocation':_0x48b2be(0x9a),'scale':0x1,'streamChainingSection':!0x1,'useDefaultActor':!0x1,'videoChainingContext':null,'videoID':_0xafe127[0x1]})[_0x48b2be(0x9d)](_0x521290=>_0x521290[_0x48b2be(0xa6)]())[_0x48b2be(0x9d)](_0x415a42=>{const _0x522f04=_0x48b2be;try{let _0x446399=JSON[_0x522f04(0x9b)](_0x415a42[_0x522f04(0x78)]('\x0a')[0x0]),_0x561d6d=_0x446399[_0x522f04(0x89)][_0x522f04(0x99)][_0x522f04(0x95)]||_0x446399[_0x522f04(0x89)]['video']['playable_url'];var _0x2da651='';(get_owner_url===0x1||get_og_url===0x1||get_thumbnail===0x1)&&(_0x2da651=_0x522f04(0x80)),open_new_tab===0x1&&window[_0x522f04(0x8d)](_0x561d6d),get_owner_url===0x1&&(_0x2da651+='-\x20Tác\x20giả:\x20https://facebook.com/'+_0x446399[_0x522f04(0x89)][_0x522f04(0x99)]['owner']['id']+'\x20\x0a'),get_og_url===0x1&&(_0x2da651+=_0x522f04(0x7e)+_0x446399['data'][_0x522f04(0x99)][_0x522f04(0x8c)]+'\x20\x0a'),get_thumbnail===0x1&&(_0x2da651+='-\x20Thumbnail:\x20'+_0x446399[_0x522f04(0x89)][_0x522f04(0x99)][_0x522f04(0x98)][_0x522f04(0x84)][_0x522f04(0x9f)]+'\x20\x0a'),console[_0x522f04(0xa2)](),console['log'](_0x522f04(0x93)),console[_0x522f04(0x83)](_0x522f04(0x7f)),console[_0x522f04(0x83)]('%cNhấp\x20vào\x20link\x20này\x20để\x20tải\x20xuống:\x20'+_0x561d6d,_0x522f04(0xad)),console[_0x522f04(0x83)](_0x522f04(0x8b)),console[_0x522f04(0x83)](_0x2da651+'\x20',_0x522f04(0xa7),_0x522f04(0x7c)),console[_0x522f04(0x83)]('======================='),console[_0x522f04(0x83)](_0x522f04(0x97),_0x522f04(0xa1),'border:none');}catch(_0x2e87a6){console[_0x522f04(0x83)](_0x522f04(0xab));}})[_0x48b2be(0xa0)](_0x5c33db=>{const _0x413a4a=_0x48b2be;console[_0x413a4a(0x9c)](_0x413a4a(0x79));});})()));function _0x2e37(){const _0x173ca6=['uri','catch','color:red;font-family:system-ui;-webkit-text-stroke:\x200.25px\x20black;font-weight:bold','clear','push','TAHOE','7248FkUGLy','text','color:#ff8484;font-family:system-ui;-webkit-text-stroke:\x200.25px\x20black;font-weight:bold','CometTahoeSidePaneQuery','5279476072161634','stringify','⚠️Không\x20thể\x20trích\x20xuất\x20dữ\x20liệu.\x20Có\x20thể\x20script\x20này\x20không\x20còn\x20hiệu\x20quả\x20nữa.','5vLCJbo','color:\x20green','584754LzyisY','CHANNEL_VIEW_FROM_PAGE_TIMELINE','token','DTSGInitialData','466964JUmRcr','split','⚠️Không\x20lấy\x20được\x20dữ\x20liệu','hasOwnProperty','28168sVjUNJ','color:#ff9494','323424OggpzJ','-\x20Link\x20video:\x20','=======================','%cThông\x20tin\x20video:\x20\x0a%c','POST','length','log','image','https://www.facebook.com/api/graphql/','372thxkbG','join','256225AfJuNm','data','location','Nếu\x20trình\x20duyệt\x20của\x20bạn\x20không\x20tự\x20động\x20tải\x20xuống,\x20vui\x20lòng\x20nhấn\x20Ctrl\x20+\x20S\x20trên\x20bàn\x20phím\x20sau\x20khi\x20nhấp\x20vào\x20liên\x20kết\x20ở\x20trên.','url','open','application/x-www-form-urlencoded','2GryGOt','3859800LNKbwH','56nbFrCM','object','✅\x20Đã\x20lấy\x20thành\x20công\x20link\x20download.','match','playable_url_quality_hd','Vui\x20lòng\x20mở\x20video\x20trước\x20khi\x20chạy\x20tập\x20lệnh\x20này.','🍺\x20Được\x20tạo\x20bởi\x20https://fb.me/monokaijssss\x20\x0a\x20Chỉnh\x20sửa,\x20thêm\x20chức\x20năng\x20bởi\x20%cCuongbokIT%c(https://cuongbokit.blogspot.com)\x20\x0a-\x20Link\x20file\x20gốc:\x20https://gist.github.com/monokaijs/270e29620c46cabec1caca8c3746729d\x20\x0a-\x20Link\x20file\x20chỉnh\x20sửa\x20của\x20CuongbokIT:\x20https://github.com/cuongbokreal/api/blob/main/cuongbokit/facebook/get-fb-video.js\x20\x0a-\x20Link\x20RAW:\x20https://cuongbokreal.github.io/api/cuongbokit/facebook/get-fb-video.js','preferred_thumbnail','video','video_channel','parse','error','then','7579lUjApc'];_0x2e37=function(){return _0x173ca6;};return _0x2e37();}
Note: Các bạn để ý giá trị của các biến: open_new_tab, get_owner_url,..mình đang sử dụng toàn bộ chức năng nên để 1, nếu bạn không dùng chức năng nào có thể đổi nó thành 0 nhé.
Bước 4: Nhấn Enter thôi ^^
Hi vọng, quả tip nhỏ này sẽ giúp các bạn tải được những video đúng chất lượng nhất mà không bị nhiễu độ phân giải khi qua các công cụ thứ 3 khác. Chúc bạn ngày mới tốt lành và những đièu tốt đẹp nhất luôn đến với bạn!
Post a Comment
image quote pre code