visualcurrent / Notion-2-Obsidan

Conversion routines to convert all Notion .md exports to full Obsidian compatibility
262 stars 47 forks source link

Some links are broken #23

Open skorphil opened 3 years ago

skorphil commented 3 years ago

Thanks to last updates https://github.com/visualcurrent/Notion-2-Obsidan/commit/a2af4a49c4698593988798c4a05bfd18e3e6dccc https://github.com/visualcurrent/Notion-2-Obsidan/commit/0fa820baff3136c72d98c7605bffa2a015dee32b They fixed a lot of issues related to Cyrillic paths and names.

But I got some issues with links to files. Some links are broken 1) [[marketing images/Highlevel_Funnel_(6]].png) instead of [[marketing images/Highlevel_Funnel_(6).png]] [[marketing images/Untitled_Chart_(20]].png) and other examples with (N) in the name

2) [Devid_Emocionalnaya-gibkost.fb2](%D0%9F%D0%BE%D0%B4%D0%B1%D0%BE%D1%80%D0%BA%D0%B0%20%D0%BC%D0%B0%D1%82%D0%B5%D1%80%D0%B8%D0%B0%D0%BB%D0%BE%D0%B2%20%D0%BF%D1%80%D0%BE%20%D1%8D%D0%BC%D0%BE%D1%86%D0%B8%D0%B8%20416b39ac03384f86b3be796f3c6ef6f2/Devid_Emocionalnaya-gibkost.fb2) instead of [[Подборка материалов про эмоции/Devid_Emocionalnaya-gibkost.fb2]] and similar problems with attachments like .pdf, .xlsx etc

3) files with [] in the name [[Курс %5BStepik%5D/Screenshot_2021-03-28_at_14.57.49.png]] instead of [[Курс [Stepik]/Screenshot_2021-03-28_at_14.57.49.png]]

omegakid1902 commented 3 years ago

@skorphil I've just improved decode function, please recheck. https://github.com/omegakid1902/Notion-2-Obsidan/commit/5bf81e29875c83ea3cfc3406827f6eacc640cfe6

Here is my vault after convert from notion :) image

ooker777 commented 2 years ago

I still have this today:

Ban | Tiểu ban | Vấn đề cần giải quyết
-- | -- | --
Phát triển cộng đồng | Tie%CC%82%CC%89u%20ban%20e29a4/To%CC%82%CC%89%20chu%CC%9B%CC%81%2044284.md,   Tie%CC%82%CC%89u%20ban%20e29a4/%C4%90ie%CC%82%CC%80u%20pho%206d203.md,   Tie%CC%82%CC%89u%20ban%20e29a4/%C4%90o%CC%82%CC%81i%20ngoa%2097ac2.md | ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Ta%CC%86ng%20ti%CC%89%20%205ea96.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Tuye%CC%82%CC%89n%20th%20ef07d.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Ga%CC%82y%20quy%CC%83%20e962a.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Ke%CC%82%CC%81t%20no%CC%82%CC%81%205e34d.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Tha%CC%80nh%20la%CC%A3%20a17a4.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Ti%CC%80m%20%C4%91u%CC%9Bo%CC%9B%207767b.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Tro%CC%9B%CC%89%20tha%CC%80%20fd380.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Qua%CC%89ng%20ca%CC%81%20871de.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Ta%CC%86ng%20lu%CC%9Bo%208f5fd.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/%C4%90a%CC%89m%20ba%CC%89o%20%20349db.md
Nội dung | Tie%CC%82%CC%89u%20ban%20e29a4/Thie%CC%82%CC%81t%20ke%2089b98.md,   Tie%CC%82%CC%89u%20ban%20e29a4/Di%CC%A3ch%20thua%2034394.md,   Tie%CC%82%CC%89u%20ban%20e29a4/Nghie%CC%82n%20cu%20c2eaf.md | ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Tha%CC%80nh%20la%CC%A3%20c0388.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/%C4%90o%CC%9Bn%20gia%CC%89n%20629e1.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Vie%CC%82%CC%81t%20ca%CC%81%20b37a3.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Di%CC%A3ch%20ca%CC%81c%20c1441.md
Nhân sự |   | ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Xa%CC%82y%20du%CC%9B%CC%A3n%20c4550.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Tha%CC%80nh%20la%CC%A3%20c0388.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Tuye%CC%82%CC%89n%20th%20ef07d.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/La%CC%80m%20ba%CC%89n%20%200cb12.md,   ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/%C4%90a%CC%89m%20ba%CC%89o%20%20349db.md
Kỹ thuật |   | ../Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%20d9ec7/Va%CC%82%CC%81n%20%C4%91e%CC%82%CC%80%206f3ae/Tha%CC%80nh%20la%CC%A3%20a17a4.md

Is your solution in the master branch?