mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
fix import of Google Takeout CSV (#323)
the file that Google has generated for me had the field `Channel ID` (capital "D") in the header.
This commit is contained in:
parent
2ca802e669
commit
d528fe58ed
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ export default {
|
|||
}
|
||||
|
||||
// Google Takeout CSV
|
||||
if (text.indexOf("Channel Id,") != -1) {
|
||||
if (text.indexOf("Channel Id,") != -1 || text.indexOf("Channel ID,") != -1) {
|
||||
const lines = text.split("\n");
|
||||
for (let i = 1; i < lines.length; i++) {
|
||||
const line = lines[i];
|
||||
|
|
Loading…
Reference in a new issue