Youdao cloud notes export to note

Time:2021-12-17

1. Batch export of Youdao cloud notes
Web login Youdao cloud notes( https://note.youdao.com/web/ )…
Youdao cloud notes export to note

If there are many articles and it is troublesome to export them one by one, you can use js script:

Automatically select article → right click → export as word → scroll the list

Script usage:

The Chrome browser opens https://note.youdao.com/web/
F12 open the development console and switch to the console panel
Youdao cloud notes export to note
Copy auto export script, paste, enter; Wait for automatic execution
Automatically export scripts
var exported = {}
function warn(obj) {console.warn(obj)}
function error(obj) {console.error(obj)}
function send_contextmenu(obj) {

var rect = obj.getClientRects()[0]
var evObj = document.createEvent('MouseEvents');
evObj.initMouseEvent('contextmenu',true,true,window,1,0,0,rect.left,rect.top,false,false,false,false,0,null);
obj.dispatchEvent(evObj);

}
function scrol(obj, y){

var evt = document.createEvent('MouseEvents');
evt.initEvent('wheel', true, true);
evt.deltaY = +y;
var element = obj;
element.dispatchEvent(evt);

}
var pages = $(‘.file-item .title’);
function download_page(index) {

if (index >= pages.length) {
    newpages = $('.file-item .title');
    if (newpages.length > pages.length) {
        pages = newpages
        Error ('export next page, total: '+ index)
    } else {
        Error ('end of export, total number: '+ index')
    }
}
var obj = pages[index]
var top = obj.getClientRects()[0].top
if (top>500) {
    scrol($('.abstract-mode')[0], 300)
}
var that = $(obj)
var title = $.trim(that.text());
if (exported[title]) return;
console. Warn (index + 'Export:' + title)
send_contextmenu(obj)
setTimeout(function(){
    var action = $.trim($($('.menu-li .menu-label')[6]).text())
    If (action = = 'export as word') $('. Menu Li. Menu label') [6] click()
    Else error (Action + 'not supported')
    index++
    download_page(index)
},3000)

}
function start() {

Warn ('Start export, total number: '+ pages. Length)
download_page(0)

}
start()
2. Import word into note
Create a page in the note, select → import → word in the top right corner, and select all files in the option:
Youdao cloud notes export to note

After importing, there will be one page after another. You can right-click move to the node you want to summarize