mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 02:08:21 +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
@ -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 New Issue
Block a user