瀏覽代碼

curso json file sent

Daniel Suazo 4 年之前
父節點
當前提交
d9291479fc
共有 92 個文件被更改,包括 1212 次插入80 次删除
  1. 1
    0
      Educacion_Grad.json
  2. 1
    1
      Miupi Parser/Admi.json
  3. 1
    1
      Miupi Parser/Admi_Grad.json
  4. 1
    1
      Miupi Parser/Arqui.json
  5. 1
    1
      Miupi Parser/Arqui_Grad.json
  6. 1
    1
      Miupi Parser/Asuntos_Aca.json
  7. 1
    1
      Miupi Parser/Ciencia_Tech_Info_Grad.json
  8. 1
    1
      Miupi Parser/Ciencias_Militares.json
  9. 1
    1
      Miupi Parser/Comunicaciones.json
  10. 1
    1
      Miupi Parser/Comunicaciones_Grad.json
  11. 1
    1
      Miupi Parser/Derecho.json
  12. 1
    1
      Miupi Parser/Educacion.json
  13. 1
    1
      Miupi Parser/Educacion_Continua.json
  14. 1
    1
      Miupi Parser/Educacion_Grad.json
  15. 1
    1
      Miupi Parser/Generales.json
  16. 1
    1
      Miupi Parser/Humanidades.json
  17. 1
    1
      Miupi Parser/Humanidades_Grad.json
  18. 435
    0
      Miupi Parser/Naturales.json
  19. 1
    1
      Miupi Parser/Naturales_Grad.json
  20. 1
    1
      Miupi Parser/Planificacion.json
  21. 1
    1
      Miupi Parser/Sociales.json
  22. 1
    1
      Miupi Parser/Sociales_Grad.json
  23. 2
    1
      Miupi Parser/parse.py
  24. 0
    1
      primer_sem/Ciencias_Militares.json
  25. 0
    1
      primer_sem/Ciencias_Naturales.json
  26. 二進制
      server/CompanionApp/__pycache__/__init__.cpython-38.pyc
  27. 二進制
      server/CompanionApp/__pycache__/admin.cpython-38.pyc
  28. 二進制
      server/CompanionApp/__pycache__/models.cpython-38.pyc
  29. 二進制
      server/CompanionApp/__pycache__/organizar.cpython-38.pyc
  30. 二進制
      server/CompanionApp/__pycache__/serializers.cpython-38.pyc
  31. 二進制
      server/CompanionApp/__pycache__/urls.cpython-38.pyc
  32. 二進制
      server/CompanionApp/__pycache__/views.cpython-38.pyc
  33. 31
    0
      server/CompanionApp/migrations/0004_auto_20201025_1252.py
  34. 二進制
      server/CompanionApp/migrations/__pycache__/0001_initial.cpython-38.pyc
  35. 二進制
      server/CompanionApp/migrations/__pycache__/0002_curso_code.cpython-38.pyc
  36. 二進制
      server/CompanionApp/migrations/__pycache__/0003_auto_20201015_1100.cpython-38.pyc
  37. 二進制
      server/CompanionApp/migrations/__pycache__/0004_auto_20201025_1252.cpython-38.pyc
  38. 二進制
      server/CompanionApp/migrations/__pycache__/__init__.cpython-38.pyc
  39. 3
    0
      server/CompanionApp/models.py
  40. 11
    12
      server/CompanionApp/organizar.py
  41. 17
    3
      server/CompanionApp/serializers.py
  42. 4
    3
      server/CompanionApp/urls.py
  43. 35
    25
      server/CompanionApp/views.py
  44. 0
    0
      server/primer_sem/Admi.json
  45. 0
    0
      server/primer_sem/Admi_Grad.json
  46. 0
    0
      server/primer_sem/Arqui.json
  47. 0
    0
      server/primer_sem/Arqui_Grad.json
  48. 0
    0
      server/primer_sem/Asuntos_Aca.json
  49. 34
    0
      server/primer_sem/Ciencias_Militares.json
  50. 614
    0
      server/primer_sem/Ciencias_Naturales.json
  51. 0
    0
      server/primer_sem/Ciencias_Naturales_Grad.json
  52. 0
    0
      server/primer_sem/Ciencias_Sociales.json
  53. 0
    0
      server/primer_sem/Ciencias_Sociales_Grad.json
  54. 0
    0
      server/primer_sem/Comunicaciones.json
  55. 0
    0
      server/primer_sem/Comunicaciones_Grad.json
  56. 0
    0
      server/primer_sem/Educacion.json
  57. 0
    0
      server/primer_sem/Educacion_Continua.json
  58. 0
    0
      server/primer_sem/Educacion_Grad.json
  59. 0
    0
      server/primer_sem/Escuela_Derecho.json
  60. 0
    0
      server/primer_sem/Escuela_Grad_Ciencia_Tech_Info.json
  61. 0
    0
      server/primer_sem/Estudios_Generales.json
  62. 0
    0
      server/primer_sem/Humanidades.json
  63. 0
    0
      server/primer_sem/Humanidades_Grad.json
  64. 0
    0
      server/primer_sem/Planificacion.json
  65. 2
    8
      server/primer_sem/primer_parse.py
  66. 二進制
      server/restful/__pycache__/__init__.cpython-38.pyc
  67. 二進制
      server/restful/__pycache__/settings.cpython-38.pyc
  68. 二進制
      server/restful/__pycache__/urls.cpython-38.pyc
  69. 二進制
      server/restful/__pycache__/wsgi.cpython-38.pyc
  70. 2
    5
      server/restful/settings.py
  71. 0
    0
      server/segundo_sem/Admi2.json
  72. 0
    0
      server/segundo_sem/Admi_Grad2.json
  73. 0
    0
      server/segundo_sem/Arqui2.json
  74. 0
    0
      server/segundo_sem/Arqui_Grad2.json
  75. 0
    0
      server/segundo_sem/Asuntos_Aca2.json
  76. 0
    0
      server/segundo_sem/Ciencias_Militares2.json
  77. 0
    0
      server/segundo_sem/Ciencias_Naturales2.json
  78. 0
    0
      server/segundo_sem/Ciencias_Naturales_Grad2.json
  79. 0
    0
      server/segundo_sem/Ciencias_Sociales2.json
  80. 0
    0
      server/segundo_sem/Ciencias_Sociales_Grad2.json
  81. 0
    0
      server/segundo_sem/Comunicaciones2.json
  82. 0
    0
      server/segundo_sem/Comunicaciones_Grad2.json
  83. 0
    0
      server/segundo_sem/Educacion2.json
  84. 0
    0
      server/segundo_sem/Educacion_Continua2.json
  85. 0
    0
      server/segundo_sem/Educacion_Grad2.json
  86. 0
    0
      server/segundo_sem/Escuela_Derecho2.json
  87. 0
    0
      server/segundo_sem/Escuela_Grad_Ciencia_Tech_Info2.json
  88. 0
    0
      server/segundo_sem/Estudios_Generales2.json
  89. 0
    0
      server/segundo_sem/Humanidades2.json
  90. 0
    0
      server/segundo_sem/Humanidades_Grad2.json
  91. 0
    0
      server/segundo_sem/Planificacion2.json
  92. 1
    1
      server/segundo_sem/second_parser.py

+ 1
- 0
Educacion_Grad.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Admi.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Admi_Grad.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Arqui.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Arqui_Grad.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Asuntos_Aca.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Ciencia_Tech_Info_Grad.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Ciencias_Militares.json 查看文件

@@ -1 +1 @@
1
-[{"Curso": "CIMI3011", "Seccion": "001", "Profesor": "MCGEE, SHANNON ", "Nombre": "CURSO BASIC C. MILIT I", "Dias": ["LW"], "Horario": ["01:00PM-01:50PM"], "Salones": ["DM-001"], "Info_Extra": ""}, {"Curso": "CIMI3021", "Seccion": "001", "Profesor": "MEYERS, JOSHUA ", "Nombre": "CURS BASIC C.MILIT III", "Dias": ["LW"], "Horario": ["10:30AM-11:20AM"], "Salones": ["DM-002"], "Info_Extra": ""}, {"Curso": "CIMI4011", "Seccion": "001", "Profesor": "MEYERS, JOSHUA ", "Nombre": "COM Y PSIC EN LID MILITAR", "Dias": ["LW"], "Horario": ["08:00PM-09:50PM"], "Salones": ["DM-001"], "Info_Extra": ""}, {"Curso": "CIMI4021", "Seccion": "001", "Profesor": "ROJAS, ORLANDO ", "Nombre": "LID Y ADM OPERACIONES MIL", "Dias": ["MJ"], "Horario": ["06:30AM-08:50AM"], "Salones": [], "Info_Extra": ""}, {"Curso": "ESAE3001", "Seccion": "001", "Profesor": "TORRES, C. ", "Nombre": "LA FUERZA AEREA DE HOY", "Dias": ["L", "V"], "Horario": ["09:00AM-09:50AM", "09:00AM-10:50AM"], "Salones": ["DM-001", "DM-001"], "Info_Extra": ""}, {"Curso": "ESAE3001", "Seccion": "002", "Profesor": "TORRES, C. ", "Nombre": "LA FUERZA AEREA DE HOY", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "ESAE3011", "Seccion": "002", "Profesor": "NIEVES,RICARDO ", "Nombre": "DESARR DEL PODERIO AEREO", "Dias": ["W", "V"], "Horario": ["09:00AM-09:50AM", "09:00AM-10:50AM"], "Salones": [], "Info_Extra": ""}, {"Curso": "ESAE4001", "Seccion": "001", "Profesor": "MENDOZA, JOEL ", "Nombre": "GER,LID EN LA FUERZA AERE", "Dias": ["LW", "V"], "Horario": ["10:00AM-11:20AM", "09:00AM-10:50AM"], "Salones": [], "Info_Extra": ""}, {"Curso": "ESAE4011", "Seccion": "001", "Profesor": "NIEVES, RICARDO", "Nombre": "SEG NAC SOC AMER CONTEMP", "Dias": ["LW", "V"], "Horario": ["10:00AM-11:20AM", "09:00AM-10:50AM"], "Salones": [], "Info_Extra": ""}]
1
+[{"Curso": "CIMI3011", "Seccion": "001", "Profesor": "MCGEE, SHANNON ", "Creditos": "2", "Nombre": "CURSO BASIC C. MILIT I", "Dias": ["LW"], "Horario": ["01:00PM-01:50PM"], "Salones": ["DM-001"], "Info_Extra": ""}, {"Curso": "CIMI3021", "Seccion": "001", "Profesor": "MEYERS, JOSHUA ", "Creditos": "2", "Nombre": "CURS BASIC C.MILIT III", "Dias": ["LW"], "Horario": ["10:30AM-11:20AM"], "Salones": ["DM-002"], "Info_Extra": ""}, {"Curso": "CIMI4011", "Seccion": "001", "Profesor": "MEYERS, JOSHUA ", "Creditos": "4", "Nombre": "COM Y PSIC EN LID MILITAR", "Dias": ["LW"], "Horario": ["08:00PM-09:50PM"], "Salones": ["DM-001"], "Info_Extra": ""}, {"Curso": "CIMI4021", "Seccion": "001", "Profesor": "ROJAS, ORLANDO ", "Creditos": "4", "Nombre": "LID Y ADM OPERACIONES MIL", "Dias": ["MJ"], "Horario": ["06:30AM-08:50AM"], "Salones": [], "Info_Extra": ""}, {"Curso": "ESAE3001", "Seccion": "001", "Profesor": "TORRES, C. ", "Creditos": "2", "Nombre": "LA FUERZA AEREA DE HOY", "Dias": ["L", "V"], "Horario": ["09:00AM-09:50AM", "09:00AM-10:50AM"], "Salones": ["DM-001", "DM-001"], "Info_Extra": ""}, {"Curso": "ESAE3001", "Seccion": "002", "Profesor": "TORRES, C. ", "Creditos": "2", "Nombre": "LA FUERZA AEREA DE HOY", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "ESAE3011", "Seccion": "002", "Profesor": "NIEVES,RICARDO ", "Creditos": "2", "Nombre": "DESARR DEL PODERIO AEREO", "Dias": ["W", "V"], "Horario": ["09:00AM-09:50AM", "09:00AM-10:50AM"], "Salones": [], "Info_Extra": ""}, {"Curso": "ESAE4001", "Seccion": "001", "Profesor": "MENDOZA, JOEL ", "Creditos": "4", "Nombre": "GER,LID EN LA FUERZA AERE", "Dias": ["LW", "V"], "Horario": ["10:00AM-11:20AM", "09:00AM-10:50AM"], "Salones": [], "Info_Extra": ""}, {"Curso": "ESAE4011", "Seccion": "001", "Profesor": "NIEVES, RICARDO", "Creditos": "4", "Nombre": "SEG NAC SOC AMER CONTEMP", "Dias": ["LW", "V"], "Horario": ["10:00AM-11:20AM", "09:00AM-10:50AM"], "Salones": [], "Info_Extra": ""}]

+ 1
- 1
Miupi Parser/Comunicaciones.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Comunicaciones_Grad.json 查看文件

@@ -1 +1 @@
1
-[{"Curso": "COPU6500", "Seccion": "2U1", "Profesor": "ROCHE,MARIO ", "Nombre": "TEORIAS DE LA COMUNICACIO", "Dias": ["M"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4112"], "Info_Extra": "* Curso no se ofrecer\u00e1 en el 2DO SEM *"}, {"Curso": "COPU6517", "Seccion": "2U1", "Profesor": "RAMIREZ,RUBEN ", "Nombre": "CULT Y ESTRUC MEDIATICAS", "Dias": ["W"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4112"], "Info_Extra": "* Curso no se ofrecer\u00e1 en el 2DO SEM *"}, {"Curso": "COPU6667", "Seccion": "2U1", "Profesor": "COLON,ELISEO ", "Nombre": "PERSP Y METOD INV EN COM", "Dias": ["L"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4088"], "Info_Extra": "* Curso no se ofrecer\u00e1 en el 2DO SEM *"}, {"Curso": "COPU6698", "Seccion": "0U1", "Profesor": "COLON,ELISEO ", "Nombre": "CONT EXP INVEST DIV MODS", "Dias": ["J"], "Horario": ["06:00PM-08:50PM"], "Salones": [], "Info_Extra": ""}, {"Curso": "COPU6707", "Seccion": "001", "Profesor": "COLON,ELISEO ", "Nombre": "SEMINAR COMUNICACION III", "Dias": ["M"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4110"], "Info_Extra": ""}, {"Curso": "COPU6707", "Seccion": "002", "Profesor": "ALVARADO, G. ", "Nombre": "SEMINAR COMUNICACION III", "Dias": ["L"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4110"], "Info_Extra": ""}, {"Curso": "COPU6726", "Seccion": "2U1", "Profesor": "ROCHE,MARIO ", "Nombre": "SEMINARION EN PERIOD II", "Dias": ["J"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4110"], "Info_Extra": "* Curso no se ofrecer\u00e1 en el 2DO SEM *"}]
1
+[{"Curso": "COPU6500", "Seccion": "2U1", "Profesor": "ROCHE,MARIO ", "Creditos": "3", "Nombre": "TEORIAS DE LA COMUNICACIO", "Dias": ["M"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4112"], "Info_Extra": "* Curso no se ofrecer\u00e1 en el 2DO SEM *"}, {"Curso": "COPU6517", "Seccion": "2U1", "Profesor": "RAMIREZ,RUBEN ", "Creditos": "3", "Nombre": "CULT Y ESTRUC MEDIATICAS", "Dias": ["W"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4112"], "Info_Extra": "* Curso no se ofrecer\u00e1 en el 2DO SEM *"}, {"Curso": "COPU6667", "Seccion": "2U1", "Profesor": "COLON,ELISEO ", "Creditos": "3", "Nombre": "PERSP Y METOD INV EN COM", "Dias": ["L"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4088"], "Info_Extra": "* Curso no se ofrecer\u00e1 en el 2DO SEM *"}, {"Curso": "COPU6698", "Seccion": "0U1", "Profesor": "COLON,ELISEO ", "Creditos": "0", "Nombre": "CONT EXP INVEST DIV MODS", "Dias": ["J"], "Horario": ["06:00PM-08:50PM"], "Salones": [], "Info_Extra": ""}, {"Curso": "COPU6707", "Seccion": "001", "Profesor": "COLON,ELISEO ", "Creditos": "3", "Nombre": "SEMINAR COMUNICACION III", "Dias": ["M"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4110"], "Info_Extra": ""}, {"Curso": "COPU6707", "Seccion": "002", "Profesor": "ALVARADO, G. ", "Creditos": "3", "Nombre": "SEMINAR COMUNICACION III", "Dias": ["L"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4110"], "Info_Extra": ""}, {"Curso": "COPU6726", "Seccion": "2U1", "Profesor": "ROCHE,MARIO ", "Creditos": "3", "Nombre": "SEMINARION EN PERIOD II", "Dias": ["J"], "Horario": ["06:00PM-08:50PM"], "Salones": ["PLAZU-4110"], "Info_Extra": "* Curso no se ofrecer\u00e1 en el 2DO SEM *"}]

+ 1
- 1
Miupi Parser/Derecho.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Educacion.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Educacion_Continua.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Educacion_Grad.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Generales.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Humanidades.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Humanidades_Grad.json
文件差異過大導致無法顯示
查看文件


+ 435
- 0
Miupi Parser/Naturales.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Naturales_Grad.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Planificacion.json 查看文件

@@ -1 +1 @@
1
-[{"Curso": "PLAN5005", "Seccion": "3U1", "Profesor": "YOEL VELAZQUEZ ", "Nombre": "ECON ESTA Y MATE PLANIF", "Dias": ["S"], "Horario": ["09:00AM-01:00PM"], "Salones": ["PLAZU-7033"], "Info_Extra": ""}, {"Curso": "PLAN6006", "Seccion": "0U1", "Profesor": "IRIZARRY, R. ", "Nombre": "INTERNADO DE PLANIFICACIO", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6068", "Seccion": "013", "Profesor": "LUGO, J. ", "Nombre": "PRESERV PATRIMON Y PLANIF", "Dias": ["J"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7041"], "Info_Extra": ""}, {"Curso": "PLAN6075", "Seccion": "2U1", "Profesor": "IRIZARRY, R. ", "Nombre": "PROYECTO DE INVESTIG II", "Dias": ["L"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7034"], "Info_Extra": ""}, {"Curso": "PLAN6076", "Seccion": "2U1", "Profesor": "LAMBA DEEPAK ", "Nombre": "HIST & TEORIA PLAN", "Dias": ["L"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7033"], "Info_Extra": ""}, {"Curso": "PLAN6089", "Seccion": "2U1", "Profesor": "ENCARNACION, A.", "Nombre": "PLANIF URB Y TERRITORIAL", "Dias": ["W"], "Horario": ["07:00PM-09:50PM"], "Salones": ["PLAZU-7041"], "Info_Extra": ""}, {"Curso": "PLAN6116", "Seccion": "2U1", "Profesor": "GONZALEZ VERON ", "Nombre": "ORDEN JURIDICO PLAN", "Dias": ["J"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7033"], "Info_Extra": ""}, {"Curso": "PLAN6117", "Seccion": "2U1", "Profesor": "CASTRO, A . ", "Nombre": "APLIC COMPUTADOR EN PLAN", "Dias": ["W"], "Horario": ["05:30PM-09:20PM"], "Salones": ["PLAZU-6015"], "Info_Extra": ""}, {"Curso": "PLAN6135", "Seccion": "2U1", "Profesor": "ENCARNACION, A,", "Nombre": "SOCIEDAD AMBIENTE Y PLAN", "Dias": ["L"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7035"], "Info_Extra": ""}, {"Curso": "PLAN6513", "Seccion": "2U1", "Profesor": "IRIZARRY, R. ", "Nombre": "SEM PROP PROYECTO PLANIFI", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6602", "Seccion": "2U1", "Profesor": "CASTRO, A. ", "Nombre": "SIG PARA PLANIFICACION", "Dias": ["MJ"], "Horario": ["05:30PM-07:20PM"], "Salones": ["PLAZU-6015"], "Info_Extra": ""}, {"Curso": "PLAN6603", "Seccion": "2U1", "Profesor": "NAVARRO, C. ", "Nombre": "ELABORACION DE PLANES", "Dias": ["L"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7041"], "Info_Extra": ""}, {"Curso": "PLAN6604", "Seccion": "2U1", "Profesor": "SANTIAGO, R. ", "Nombre": "TEOR COMUNIDAD Y DES ECON", "Dias": ["J"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7035"], "Info_Extra": ""}, {"Curso": "PLAN6614", "Seccion": "201", "Profesor": "BARRETO, M. ", "Nombre": "PROYECTO DE PLANIFICACION", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6614", "Seccion": "202", "Profesor": "NAVARRO, C. ", "Nombre": "PROYECTO DE PLANIFICACION", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6896", "Seccion": "201", "Profesor": "BARRETO, M. ", "Nombre": "CONTINUACION PROY PLAN", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6896", "Seccion": "202", "Profesor": "PENA, P. ", "Nombre": "CONTINUACION PROY PLAN", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6896", "Seccion": "203", "Profesor": "NAVARRO, C. ", "Nombre": "CONTINUACION PROY PLAN", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6995", "Seccion": "011", "Profesor": "MIRANDA, C. ", "Nombre": "SEM: DESARROLLO PROPUESTA", "Dias": ["LMW", "S"], "Horario": ["05:30PM-08:20PM", "09:00AM-11:00AM"], "Salones": ["PLAZU-7036", "PLAZU-7036"], "Info_Extra": ""}, {"Curso": "PLAN6995", "Seccion": "013", "Profesor": "BARRETO MARITZA", "Nombre": "RIESGOS Y PLANIFICACIONN", "Dias": ["W"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7035"], "Info_Extra": ""}, {"Curso": "PLAN6996", "Seccion": "2U1", "Profesor": "NAVARRO, C. ", "Nombre": "PRACTICA DE PLANIFICACION", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}]
1
+[{"Curso": "PLAN5005", "Seccion": "3U1", "Profesor": "YOEL VELAZQUEZ ", "Creditos": "4", "Nombre": "ECON ESTA Y MATE PLANIF", "Dias": ["S"], "Horario": ["09:00AM-01:00PM"], "Salones": ["PLAZU-7033"], "Info_Extra": ""}, {"Curso": "PLAN6006", "Seccion": "0U1", "Profesor": "IRIZARRY, R. ", "Creditos": "3", "Nombre": "INTERNADO DE PLANIFICACIO", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6068", "Seccion": "013", "Profesor": "LUGO, J. ", "Creditos": "3", "Nombre": "PRESERV PATRIMON Y PLANIF", "Dias": ["J"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7041"], "Info_Extra": ""}, {"Curso": "PLAN6075", "Seccion": "2U1", "Profesor": "IRIZARRY, R. ", "Creditos": "3", "Nombre": "PROYECTO DE INVESTIG II", "Dias": ["L"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7034"], "Info_Extra": ""}, {"Curso": "PLAN6076", "Seccion": "2U1", "Profesor": "LAMBA DEEPAK ", "Creditos": "3", "Nombre": "HIST & TEORIA PLAN", "Dias": ["L"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7033"], "Info_Extra": ""}, {"Curso": "PLAN6089", "Seccion": "2U1", "Profesor": "ENCARNACION, A.", "Creditos": "3", "Nombre": "PLANIF URB Y TERRITORIAL", "Dias": ["W"], "Horario": ["07:00PM-09:50PM"], "Salones": ["PLAZU-7041"], "Info_Extra": ""}, {"Curso": "PLAN6116", "Seccion": "2U1", "Profesor": "GONZALEZ VERON ", "Creditos": "3", "Nombre": "ORDEN JURIDICO PLAN", "Dias": ["J"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7033"], "Info_Extra": ""}, {"Curso": "PLAN6117", "Seccion": "2U1", "Profesor": "CASTRO, A . ", "Creditos": "4", "Nombre": "APLIC COMPUTADOR EN PLAN", "Dias": ["W"], "Horario": ["05:30PM-09:20PM"], "Salones": ["PLAZU-6015"], "Info_Extra": ""}, {"Curso": "PLAN6135", "Seccion": "2U1", "Profesor": "ENCARNACION, A,", "Creditos": "3", "Nombre": "SOCIEDAD AMBIENTE Y PLAN", "Dias": ["L"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7035"], "Info_Extra": ""}, {"Curso": "PLAN6513", "Seccion": "2U1", "Profesor": "IRIZARRY, R. ", "Creditos": "3", "Nombre": "SEM PROP PROYECTO PLANIFI", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6602", "Seccion": "2U1", "Profesor": "CASTRO, A. ", "Creditos": "4", "Nombre": "SIG PARA PLANIFICACION", "Dias": ["MJ"], "Horario": ["05:30PM-07:20PM"], "Salones": ["PLAZU-6015"], "Info_Extra": ""}, {"Curso": "PLAN6603", "Seccion": "2U1", "Profesor": "NAVARRO, C. ", "Creditos": "3", "Nombre": "ELABORACION DE PLANES", "Dias": ["L"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7041"], "Info_Extra": ""}, {"Curso": "PLAN6604", "Seccion": "2U1", "Profesor": "SANTIAGO, R. ", "Creditos": "3", "Nombre": "TEOR COMUNIDAD Y DES ECON", "Dias": ["J"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7035"], "Info_Extra": ""}, {"Curso": "PLAN6614", "Seccion": "201", "Profesor": "BARRETO, M. ", "Creditos": "3", "Nombre": "PROYECTO DE PLANIFICACION", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6614", "Seccion": "202", "Profesor": "NAVARRO, C. ", "Creditos": "3", "Nombre": "PROYECTO DE PLANIFICACION", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6896", "Seccion": "201", "Profesor": "BARRETO, M. ", "Creditos": "0", "Nombre": "CONTINUACION PROY PLAN", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6896", "Seccion": "202", "Profesor": "PENA, P. ", "Creditos": "0", "Nombre": "CONTINUACION PROY PLAN", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6896", "Seccion": "203", "Profesor": "NAVARRO, C. ", "Creditos": "0", "Nombre": "CONTINUACION PROY PLAN", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}, {"Curso": "PLAN6995", "Seccion": "011", "Profesor": "MIRANDA, C. ", "Creditos": "1", "Nombre": "SEM: DESARROLLO PROPUESTA", "Dias": ["LMW", "S"], "Horario": ["05:30PM-08:20PM", "09:00AM-11:00AM"], "Salones": ["PLAZU-7036", "PLAZU-7036"], "Info_Extra": ""}, {"Curso": "PLAN6995", "Seccion": "013", "Profesor": "BARRETO MARITZA", "Creditos": "3", "Nombre": "RIESGOS Y PLANIFICACIONN", "Dias": ["W"], "Horario": ["05:30PM-08:20PM"], "Salones": ["PLAZU-7035"], "Info_Extra": ""}, {"Curso": "PLAN6996", "Seccion": "2U1", "Profesor": "NAVARRO, C. ", "Creditos": "5", "Nombre": "PRACTICA DE PLANIFICACION", "Dias": ["D"], "Horario": ["TBA"], "Salones": [], "Info_Extra": ""}]

+ 1
- 1
Miupi Parser/Sociales.json
文件差異過大導致無法顯示
查看文件


+ 1
- 1
Miupi Parser/Sociales_Grad.json
文件差異過大導致無法顯示
查看文件


+ 2
- 1
Miupi Parser/parse.py 查看文件

@@ -39,7 +39,8 @@ def final_parse(name):
39 39
                 course["Profesor"] = profesor
40 40
             else:
41 41
                 course["Profesor"] = "TBA"
42
-
42
+            
43
+            course["Creditos"] = info[1][-1]
43 44
             course["Nombre"] = info[0][0:-1]
44 45
             course["Dias"] = item["Dias"].split(" ")
45 46
 

+ 0
- 1
primer_sem/Ciencias_Militares.json 查看文件

@@ -1 +0,0 @@
1
-{"CIMI3011": ["CURSO BASIC C. MILIT I ", "2"], "CIMI3021": ["CURS BASIC C.MILIT III ", "2"], "CIMI4011": ["COM Y PSIC EN LID MILITAR ", "4"], "CIMI4021": ["LID Y ADM OPERACIONES MIL ", "4"], "ESAE3001": ["LA FUERZA AEREA DE HOY ", "2"], "ESAE3011": ["DESARR DEL PODERIO AEREO ", "2"], "ESAE4001": ["GER,LID EN LA FUERZA AEREA", "4"], "ESAE4011": ["SEG NAC SOC AMER CONTEMP ", "4"]}

+ 0
- 1
primer_sem/Ciencias_Naturales.json
文件差異過大導致無法顯示
查看文件


二進制
server/CompanionApp/__pycache__/__init__.cpython-38.pyc 查看文件


二進制
server/CompanionApp/__pycache__/admin.cpython-38.pyc 查看文件


二進制
server/CompanionApp/__pycache__/models.cpython-38.pyc 查看文件


二進制
server/CompanionApp/__pycache__/organizar.cpython-38.pyc 查看文件


二進制
server/CompanionApp/__pycache__/serializers.cpython-38.pyc 查看文件


二進制
server/CompanionApp/__pycache__/urls.cpython-38.pyc 查看文件


二進制
server/CompanionApp/__pycache__/views.cpython-38.pyc 查看文件


+ 31
- 0
server/CompanionApp/migrations/0004_auto_20201025_1252.py 查看文件

@@ -0,0 +1,31 @@
1
+# Generated by Django 3.1.2 on 2020-10-25 16:52
2
+
3
+from django.db import migrations, models
4
+
5
+
6
+class Migration(migrations.Migration):
7
+
8
+    dependencies = [
9
+        ('CompanionApp', '0003_auto_20201015_1100'),
10
+    ]
11
+
12
+    operations = [
13
+        migrations.AddField(
14
+            model_name='matricula',
15
+            name='dias',
16
+            field=models.CharField(default='', max_length=10),
17
+            preserve_default=False,
18
+        ),
19
+        migrations.AddField(
20
+            model_name='matricula',
21
+            name='horario',
22
+            field=models.CharField(default='', max_length=50),
23
+            preserve_default=False,
24
+        ),
25
+        migrations.AddField(
26
+            model_name='matricula',
27
+            name='salon',
28
+            field=models.CharField(default='', max_length=12),
29
+            preserve_default=False,
30
+        ),
31
+    ]

二進制
server/CompanionApp/migrations/__pycache__/0001_initial.cpython-38.pyc 查看文件


二進制
server/CompanionApp/migrations/__pycache__/0002_curso_code.cpython-38.pyc 查看文件


二進制
server/CompanionApp/migrations/__pycache__/0003_auto_20201015_1100.cpython-38.pyc 查看文件


二進制
server/CompanionApp/migrations/__pycache__/0004_auto_20201025_1252.cpython-38.pyc 查看文件


二進制
server/CompanionApp/migrations/__pycache__/__init__.cpython-38.pyc 查看文件


+ 3
- 0
server/CompanionApp/models.py 查看文件

@@ -18,4 +18,7 @@ class Matricula(models.Model):
18 18
     prof = models.CharField(max_length=150)
19 19
     grade = models.CharField(max_length=3)
20 20
     semestre = models.IntegerField(default=0)
21
+    horario = models.CharField(max_length=50)
22
+    dias = models.CharField(max_length=10)
23
+    salon = models.CharField(max_length=12)
21 24
 

organizar/organizar.py → server/CompanionApp/organizar.py 查看文件

@@ -1,23 +1,26 @@
1
-import os, sys
1
+import os
2
+import sys
2 3
 import json
3 4
 
4
-path1 = "C:/Users/diego/Documents/companion_app/primer_sem"
5
-path2 = "C:/Users/diego/Documents/companion_app/segundo_sem"
5
+path1 = "C:/Users/danie/Documents/Projects/Companion App/server/primer_sem"
6
+path2 = "C:/Users/danie/Documents/Projects/Companion App/server/segundo_sem"
7
+
8
+dirsem1 = os.listdir(path1)
9
+dirsem2 = os.listdir(path2)
6 10
 
7
-dirs1 = os.listdir(path1)
8
-dirs2 = os.listdir(path2)
9 11
 
10 12
 def orderFiles1(files1):
11 13
     i = 1
12
-    for file in dirs1:
14
+    for file in dirsem1:
13 15
         if file.endswith('.json'):
14 16
             files1.append({'file': file, 'num': i})
15 17
         i += 1
16 18
     return files1
17 19
 
20
+
18 21
 def orderFiles2(files2):
19 22
     i = 1
20
-    for file in dirs2:
23
+    for file in dirsem2:
21 24
         if file.endswith('.json'):
22 25
             files2.append({'file': file, 'num': i})
23 26
         i += 1
@@ -30,14 +33,13 @@ def orderFiles3(files1, files2, files3):
30 33
         files3.append({'file': files2[i]['file'], 'num': files1[i]['num']})
31 34
     return files3
32 35
 
36
+
33 37
 files1 = orderFiles1([])
34 38
 files2 = orderFiles2([])
35 39
 files3 = []
36 40
 files3 = orderFiles3(files1, files2, files3)
37 41
 
38 42
 
39
-
40
-
41 43
 # for file in files3:
42 44
 #     check = file['file'].split('.')
43 45
 #     path = "C:/Users/diego/Documents/companion_app/segundo_sem" if check[0][-1] == '2' else "C:/Users/diego/Documents/companion_app/primer_sem"
@@ -50,6 +52,3 @@ files3 = orderFiles3(files1, files2, files3)
50 52
 #                 name = data[key][0]
51 53
 #                 creds = data[key][1]
52 54
 #                 print(code, name, creds, fac_id)
53
-               
54
-            
55
-    

+ 17
- 3
server/CompanionApp/serializers.py 查看文件

@@ -1,11 +1,12 @@
1
-from .models import Facultad, Curso
1
+from .models import Facultad, Curso, Matricula
2 2
 from rest_framework import serializers
3 3
 
4
+
4 5
 class FacultadSerializer(serializers.ModelSerializer):
5 6
     class Meta:
6 7
         model = Facultad
7 8
         fields = ('__all__')
8
-    
9
+
9 10
     def create(self, validated_data):
10 11
         instance, created = Facultad.objects.get_or_create(**validated_data)
11 12
         # print(instance, created)
@@ -13,11 +14,12 @@ class FacultadSerializer(serializers.ModelSerializer):
13 14
             print('ya se creo')
14 15
         return validated_data
15 16
 
17
+
16 18
 class CursoSerializer(serializers.ModelSerializer):
17 19
     class Meta:
18 20
         model = Curso
19 21
         fields = ('__all__')
20
-    
22
+
21 23
     def create(self, validated_data):
22 24
         instance, created = Curso.objects.get_or_create(**validated_data)
23 25
         # print(instance, created)
@@ -25,3 +27,15 @@ class CursoSerializer(serializers.ModelSerializer):
25 27
             print('ya se creo')
26 28
         return validated_data
27 29
 
30
+
31
+class MatriculaSerializer(serializers.ModelSerializer):
32
+    class Meta:
33
+        model = Curso
34
+        fields = ('__all__')
35
+
36
+    def create(self, validated_data):
37
+        instance, created = Matricula.objects.get_or_create(**validated_data)
38
+        # print(instance, created)
39
+        if(created == False):
40
+            print('ya se creo')
41
+        return validated_data

+ 4
- 3
server/CompanionApp/urls.py 查看文件

@@ -1,7 +1,7 @@
1 1
 # from django.urls import include, path
2 2
 from rest_framework import routers
3 3
 from . import views
4
-from django.conf.urls import url, include 
4
+from django.conf.urls import url, include
5 5
 
6 6
 
7 7
 # Wire up our API using automatic URL routing.
@@ -9,6 +9,7 @@ from django.conf.urls import url, include
9 9
 urlpatterns = [
10 10
     url(r'^api/insertar_fac$', views.insertarFacultades),
11 11
     url(r'^api/hello$', views.hello_world),
12
-    url(r'^api/insertar_cursos$', views.insertarTodosLosCursos)
12
+    url(r'^api/insertar_cursos$', views.insertarTodosLosCursos),
13
+    url(r'api/fetch_matricula', views.fetchMatricula),
14
+    url(r'api/test_query', views.testQuery)
13 15
 ]
14
-

+ 35
- 25
server/CompanionApp/views.py 查看文件

@@ -1,45 +1,40 @@
1
-import sys
2 1
 import json
3
-sys.path.insert(1,'C:/Users/diego/Documents/companion_app/organizar/')
4
-
5
-from organizar import files3
6
-
7
-
2
+import sys
8 3
 from django.shortcuts import render
9
-
10 4
 from django.http.response import JsonResponse
11
-from rest_framework.parsers import JSONParser 
12 5
 from rest_framework import status
13
- 
14
-from .models import Facultad, Curso
15
-from .serializers import FacultadSerializer, CursoSerializer 
6
+from .models import Facultad, Curso, Matricula
16 7
 from rest_framework.decorators import api_view
17
-
8
+from rest_framework.parsers import JSONParser
9
+from .serializers import FacultadSerializer, CursoSerializer
10
+from .organizar import files3
18 11
 
19 12
 
20 13
 # Create your views here.
21 14
 
22
-@api_view(['POST',])
15
+@api_view(['POST', ])
23 16
 def insertarFacultades(request):
24
-    faculties = [ 'Administración de Empresas', 'Administración de Empresas graduado', 'Arquitectura', 'Arquitectura Graduado', 'Asuntos Académicos',
25
-    'Ciencias Militares', 'Ciencias Naturales', 'Ciencias Naturales Graduado', 'Ciencias Sociales', 'Ciencias Sociales Graduado',
26
-    'Escuela de Comunicación', 'Escuela de Comunicación Graduada', 'Educación', 'Educación Continua (BEOF)', 'Educación Graduado',
27
-    'Escuela de Derecho', 'Escuela Graduada de Ciencias y Tecnologías de la Información', 'Estudios Generales', 'Humanidades',
28
-    'Humanidades Graduado', 'Planificación']
17
+    faculties = ['Administración de Empresas', 'Administración de Empresas Graduado', 'Arquitectura', 'Arquitectura Graduado', 'Asuntos Académicos',
18
+                 'Ciencias Militares', 'Ciencias Naturales', 'Ciencias Naturales Graduado', 'Ciencias Sociales', 'Ciencias Sociales Graduado',
19
+                 'Escuela de Comunicación', 'Escuela de Comunicación Graduada', 'Educación', 'Educación Continua (BEOF)', 'Educación Graduado',
20
+                 'Escuela de Derecho', 'Escuela Graduada de Ciencias y Tecnologías de la Información', 'Estudios Generales', 'Humanidades',
21
+                 'Humanidades Graduado', 'Planificación']
29 22
     if request.method == 'POST':
30 23
         for faculty in faculties:
31 24
             facultad_serializer = FacultadSerializer(data={'fname': faculty})
32 25
             if facultad_serializer.is_valid():
33 26
                 facultad_serializer.save()
34
-        
27
+
35 28
         return JsonResponse({"message": 'se crearon todas las facultades'}, status=status.HTTP_201_CREATED)
36 29
 
37
-@api_view(['POST',])
30
+
31
+@api_view(['POST', ])
38 32
 def insertarTodosLosCursos(request):
39 33
     if request.method == 'POST':
40 34
         for file in files3:
41 35
             check = file['file'].split('.')
42
-            path = "C:/Users/diego/Documents/companion_app/segundo_sem" if check[0][-1] == '2' else "C:/Users/diego/Documents/companion_app/primer_sem"
36
+            path = "C:/Users/danie/Documents/Projects/Companion App/server/segundo_sem" if check[
37
+                0][-1] == '2' else "C:/Users/danie/Documents/Projects/Companion App/server/primer_sem"
43 38
             with open(path + '/' + file['file']) as f:
44 39
                 data = json.load(f)
45 40
                 fac_id = file['num']
@@ -48,19 +43,34 @@ def insertarTodosLosCursos(request):
48 43
                         code = key
49 44
                         name = data[key][0]
50 45
                         creds = data[key][1]
51
-                        curso_serializer = CursoSerializer(data={'name': name, 'code': code, 'creditos': creds, 'fac_id': fac_id})
46
+                        curso_serializer = CursoSerializer(
47
+                            data={'name': name, 'code': code, 'creditos': creds, 'fac_id': fac_id})
52 48
                         if curso_serializer.is_valid():
53 49
                             curso_serializer.save()
54 50
         return JsonResponse({'message': 'se insertaron todos los cursos'}, status=status.HTTP_201_CREATED)
55 51
 
56 52
 
57
-
58
-
59 53
 @api_view(['GET', 'POST'])
60 54
 def hello_world(request):
61 55
     if request.method == 'POST':
62 56
         return JsonResponse({"message": "Got some data!", "data": request.data})
63 57
     return JsonResponse({"message": "Hello, world!"})
64
-   
65 58
 
66 59
 
60
+@api_view(['POST', ])
61
+def fetchMatricula(request):
62
+    if request.method == 'POST':
63
+        json = []
64
+        for i in Curso.objects.all():
65
+            json.append({"id": i.fac_id.id, "name": i.name,
66
+                         "code": i.code, "credits": i.creditos})
67
+        return JsonResponse(json, safe=False)
68
+
69
+
70
+@api_view(['POST', 'GET'])
71
+def testQuery(request):
72
+    json = []
73
+    for i in Curso.objects.all():
74
+        json.append({"id": i.fac_id.id, "name": i.name,
75
+                     "code": i.code, "credits": i.creditos})
76
+    return JsonResponse(json, safe=False)

primer_sem/Admi.json → server/primer_sem/Admi.json 查看文件


primer_sem/Admi_Grad.json → server/primer_sem/Admi_Grad.json 查看文件


primer_sem/Arqui.json → server/primer_sem/Arqui.json 查看文件


primer_sem/Arqui_Grad.json → server/primer_sem/Arqui_Grad.json 查看文件


primer_sem/Asuntos_Aca.json → server/primer_sem/Asuntos_Aca.json 查看文件


+ 34
- 0
server/primer_sem/Ciencias_Militares.json 查看文件

@@ -0,0 +1,34 @@
1
+{
2
+    "CIMI3011": [
3
+        "CURSO BASIC C. MILIT I ",
4
+        "2"
5
+    ],
6
+    "CIMI3021": [
7
+        "CURS BASIC C.MILIT III ",
8
+        "2"
9
+    ],
10
+    "CIMI4011": [
11
+        "COM Y PSIC EN LID MILITAR ",
12
+        "4"
13
+    ],
14
+    "CIMI4021": [
15
+        "LID Y ADM OPERACIONES MIL ",
16
+        "4"
17
+    ],
18
+    "ESAE3001": [
19
+        "LA FUERZA AEREA DE HOY ",
20
+        "2"
21
+    ],
22
+    "ESAE3011": [
23
+        "DESARR DEL PODERIO AEREO ",
24
+        "2"
25
+    ],
26
+    "ESAE4001": [
27
+        "GER,LID EN LA FUERZA AEREA",
28
+        "4"
29
+    ],
30
+    "ESAE4011": [
31
+        "SEG NAC SOC AMER CONTEMP ",
32
+        "4"
33
+    ]
34
+}

+ 614
- 0
server/primer_sem/Ciencias_Naturales.json 查看文件

@@ -0,0 +1,614 @@
1
+{
2
+    "ASTR3005": [
3
+        "ASTRONOMIA DESCRIPTIVA ",
4
+        "3"
5
+    ],
6
+    "ASTR3055": [
7
+        "EVOLUCION COSMICA ",
8
+        "3"
9
+    ],
10
+    "BIOL3101": [
11
+        "BIOLOGIA GENERAL I ",
12
+        "4"
13
+    ],
14
+    "BIOL3101_LAB": [
15
+        "LABORATORIO ",
16
+        "0"
17
+    ],
18
+    "BIOL3102": [
19
+        "BIOLOGIA GENERAL II ",
20
+        "4"
21
+    ],
22
+    "BIOL3102_LAB": [
23
+        "LABORATORIO ",
24
+        "0"
25
+    ],
26
+    "BIOL3111": [
27
+        "INTROD A LA ECOLOGIA ",
28
+        "3"
29
+    ],
30
+    "BIOL3112": [
31
+        "LABORATORIO DE ECOLOGIA ",
32
+        "1"
33
+    ],
34
+    "BIOL3349": [
35
+        "GENETICA ",
36
+        "3"
37
+    ],
38
+    "BIOL3350": [
39
+        "LABORATORIO DE GENETICA ",
40
+        "1"
41
+    ],
42
+    "BIOL3365": [
43
+        "LAB BIOTECNOLOGIA MOLECU ",
44
+        "1"
45
+    ],
46
+    "BIOL3410": [
47
+        "BIOL ORGANISMAL VEGETAL ",
48
+        "4"
49
+    ],
50
+    "BIOL3410_LAB": [
51
+        "LABORATORIO ",
52
+        "0"
53
+    ],
54
+    "BIOL3425": [
55
+        "BIOL ORGANISMAL ANIMAL ",
56
+        "4"
57
+    ],
58
+    "BIOL3425_LAB": [
59
+        "LABORATORIO ",
60
+        "0"
61
+    ],
62
+    "BIOL3576": [
63
+        "NEUROFARMACOLOGIA Y DROGAS",
64
+        "3"
65
+    ],
66
+    "BIOL3705": [
67
+        "MICROBIOLOGIA ",
68
+        "4"
69
+    ],
70
+    "BIOL3705_LAB": [
71
+        "LABORATORIO ",
72
+        "0"
73
+    ],
74
+    "BIOL3711": [
75
+        "BIOLOGIA HUMANA I ",
76
+        "3"
77
+    ],
78
+    "BIOL4056": [
79
+        "INMUNOLOGIA ",
80
+        "3"
81
+    ],
82
+    "BIOL4345": [
83
+        "EVOLUCION ",
84
+        "3"
85
+    ],
86
+    "BIOL4350": [
87
+        "BIOLOGIA DE LA CELULA ",
88
+        "3"
89
+    ],
90
+    "BIOL4545": [
91
+        "BIOQUIMICA DE LA CELULA ",
92
+        "3"
93
+    ],
94
+    "BIOL4980": [
95
+        "BIOLOGIA GENERAL I ",
96
+        "1"
97
+    ],
98
+    "BIOL4980_LAB": [
99
+        "MICROBIOLOGIA ",
100
+        "1"
101
+    ],
102
+    "BIOL4990": [
103
+        "INTROD A INVESTIGACION ",
104
+        "1"
105
+    ],
106
+    "BIOL4999": [
107
+        "TEMAS EN BIOLOGIA ",
108
+        "3"
109
+    ],
110
+    "BIOL5026": [
111
+        "HISTOLOGIA ",
112
+        "4"
113
+    ],
114
+    "BIOL5495": [
115
+        "TAXONOM PLANTA FLORIFERA ",
116
+        "3"
117
+    ],
118
+    "BIOL5548": [
119
+        "NEUROBIOLOGIA ",
120
+        "3"
121
+    ],
122
+    "CCOM3020": [
123
+        "MATEMATICAS DISCRETAS ",
124
+        "3"
125
+    ],
126
+    "CCOM3030": [
127
+        "INTROD A CIENCIA COMPUTOS ",
128
+        "3"
129
+    ],
130
+    "CCOM3031": [
131
+        "INTRO CIENCIAS DE DATOS ",
132
+        "3"
133
+    ],
134
+    "CCOM3033": [
135
+        "INTRO A PROGR COMPUTADORAS",
136
+        "3"
137
+    ],
138
+    "CCOM3034": [
139
+        "ESTRUCTURA DE DATOS ",
140
+        "3"
141
+    ],
142
+    "CCOM3981": [
143
+        "SEMINARIO SUBGRADUADO I ",
144
+        "1"
145
+    ],
146
+    "CCOM3986": [
147
+        "INV SUBG EN CIENCIA COMP ",
148
+        "3"
149
+    ],
150
+    "CCOM4017": [
151
+        "SISTEMAS OPERATIVOS ",
152
+        "3"
153
+    ],
154
+    "CCOM4030": [
155
+        "INGENIERIA DE SOFTWARE ",
156
+        "3"
157
+    ],
158
+    "CCOM4065": [
159
+        "ALG LIN NUMERICA ",
160
+        "3"
161
+    ],
162
+    "CCOM4086": [
163
+        "ARQU DE COMPUTADORAS I ",
164
+        "3"
165
+    ],
166
+    "CCOM4089": [
167
+        "SEGURIDAD SISTEMAS Y REDES",
168
+        "3"
169
+    ],
170
+    "CCOM4205": [
171
+        "REDES DE COMPUTADORAS ",
172
+        "3"
173
+    ],
174
+    "CCOM4995": [
175
+        "TEMAS CIENCIAS DE COMPUTOS",
176
+        "3"
177
+    ],
178
+    "CCOM5035": [
179
+        "TEORIA DE COMPUTABILIDAD ",
180
+        "3"
181
+    ],
182
+    "CIAM4127": [
183
+        "TECNICAS AMBIENTALES ",
184
+        "3"
185
+    ],
186
+    "CIAM4127_LAB": [
187
+        "LABORATORIO ",
188
+        "0"
189
+    ],
190
+    "CIAM4990": [
191
+        "INVESTIGACION AMBIENTAL ",
192
+        "1"
193
+    ],
194
+    "CINA3005": [
195
+        "INTROD CS AMBIENTALES ",
196
+        "3"
197
+    ],
198
+    "CINA3128": [
199
+        "PLANIF,REGUL RECURS NAT ",
200
+        "2"
201
+    ],
202
+    "CINA4071": [
203
+        "SEM:CIENCIAS AMBIENTAL I ",
204
+        "1"
205
+    ],
206
+    "CINA4147": [
207
+        "GEOFISICA ",
208
+        "3"
209
+    ],
210
+    "CINA4157": [
211
+        "REC TERREST,ACUAT DE PR. ",
212
+        "3"
213
+    ],
214
+    "CINA4177": [
215
+        "RECURS AIRE,MANEJO,MANT ",
216
+        "2"
217
+    ],
218
+    "CINA4995": [
219
+        "TEMAS ESCOGID CS.AMBIENT ",
220
+        "3"
221
+    ],
222
+    "CINA4995_LAB": [
223
+        "USO DRONES EVALUAC AMBIENT",
224
+        "3"
225
+    ],
226
+    "CINA4997": [
227
+        "INVESTIGACION ",
228
+        "1"
229
+    ],
230
+    "CINA5990": [
231
+        "TEMAS CIENCIA MAT O TECN ",
232
+        "3"
233
+    ],
234
+    "CNEI3005": [
235
+        "CIENCIA-PSEUDOCIENCIA ",
236
+        "3"
237
+    ],
238
+    "CNEI4011": [
239
+        "INTEG INTERDISCIP I ",
240
+        "1"
241
+    ],
242
+    "CNEI4012": [
243
+        "INTEG INTERDISCIP II ",
244
+        "2"
245
+    ],
246
+    "CNEI4085": [
247
+        "INTEG CIENTIFICO-HUMANISTA",
248
+        "3"
249
+    ],
250
+    "FISI3011": [
251
+        "FISICA UNIVERSITARIA I ",
252
+        "3"
253
+    ],
254
+    "FISI3012": [
255
+        "FISICA UNIVERSITARIA II ",
256
+        "3"
257
+    ],
258
+    "FISI3013": [
259
+        "LAB DE FISI UNIVERSIT I ",
260
+        "1"
261
+    ],
262
+    "FISI3014": [
263
+        "LAB DE FISI UNIVERSIT II ",
264
+        "1"
265
+    ],
266
+    "FISI3016": [
267
+        "FISICA MODERNA ",
268
+        "3"
269
+    ],
270
+    "FISI3025": [
271
+        "FISICA MODERNA ELEMENTAL ",
272
+        "3"
273
+    ],
274
+    "FISI3171": [
275
+        "FISICA I ",
276
+        "4"
277
+    ],
278
+    "FISI3173": [
279
+        "LAB DE FISICA I ",
280
+        "1"
281
+    ],
282
+    "FISI4031": [
283
+        "MET DE FISICA MATEMATICA ",
284
+        "3"
285
+    ],
286
+    "FISI4046": [
287
+        "ELEMEN MECANICA CUANTICA ",
288
+        "3"
289
+    ],
290
+    "FISI4051": [
291
+        "MECANICA INTERMEDIA I ",
292
+        "3"
293
+    ],
294
+    "FISI4058": [
295
+        "INVESTIGACION NO GRADUAD ",
296
+        "3"
297
+    ],
298
+    "FISI4068": [
299
+        "ELECTROMAGNETISMO I ",
300
+        "3"
301
+    ],
302
+    "FISI4076": [
303
+        "LABORAT INTERMEDIO I ",
304
+        "2"
305
+    ],
306
+    "MATE3001": [
307
+        "MATEMATICA INTRODUCTORIA I",
308
+        "3"
309
+    ],
310
+    "MATE3018": [
311
+        "PREP CALCUL,GEOM ANALIT ",
312
+        "4"
313
+    ],
314
+    "MATE3019": [
315
+        "GEOMETRIA DE COLEGIO ",
316
+        "3"
317
+    ],
318
+    "MATE3026": [
319
+        "INTROD ESTA CON COMPUTAD ",
320
+        "3"
321
+    ],
322
+    "MATE3036": [
323
+        "CONCEPT FUNDAM MATE ",
324
+        "3"
325
+    ],
326
+    "MATE3040": [
327
+        "TEORIA DE NUMEROS I ",
328
+        "3"
329
+    ],
330
+    "MATE3041": [
331
+        "INTROD A MATEMATICA I ",
332
+        "3"
333
+    ],
334
+    "MATE3042": [
335
+        "INTROD A MATEMATICA II ",
336
+        "3"
337
+    ],
338
+    "MATE3070": [
339
+        "SEMINARIO SUBGRADUADO I ",
340
+        "1"
341
+    ],
342
+    "MATE3105": [
343
+        "APRECIACION MATEMATICAS ",
344
+        "3"
345
+    ],
346
+    "MATE3131": [
347
+        "CONCEP FUND ARITM,ALGEB ",
348
+        "3"
349
+    ],
350
+    "MATE3151": [
351
+        "CALCULO I ",
352
+        "4"
353
+    ],
354
+    "MATE3152": [
355
+        "CALCULO II ",
356
+        "4"
357
+    ],
358
+    "MATE3153": [
359
+        "CALCULO III ",
360
+        "4"
361
+    ],
362
+    "MATE3171": [
363
+        "PRE-CALCULO I ",
364
+        "3"
365
+    ],
366
+    "MATE3172": [
367
+        "PRE-CALCULO II ",
368
+        "3"
369
+    ],
370
+    "MATE3325": [
371
+        "INTR MATEMATICAS DISCRETAS",
372
+        "3"
373
+    ],
374
+    "MATE4009": [
375
+        "ECUACION DIFER ORDINARIA ",
376
+        "3"
377
+    ],
378
+    "MATE4031": [
379
+        "ALGEBRA LINEAL ",
380
+        "3"
381
+    ],
382
+    "MATE4045": [
383
+        "ECUACION DIFEREN PARCIAL ",
384
+        "3"
385
+    ],
386
+    "MATE4080": [
387
+        "ALGEBRA MODERNA APLICADA ",
388
+        "3"
389
+    ],
390
+    "MATE4081": [
391
+        "ALGEBRA SUPERIOR I ",
392
+        "3"
393
+    ],
394
+    "MATE4120": [
395
+        "HISTORIA DE MATEMATICA ",
396
+        "3"
397
+    ],
398
+    "MATE4996": [
399
+        "ESTUD INDEPEND SUBGRAD ",
400
+        "3"
401
+    ],
402
+    "MATE5001": [
403
+        "PROBABILIDAD I ",
404
+        "3"
405
+    ],
406
+    "MATE5201": [
407
+        "CALCULO AVANZADO I ",
408
+        "3"
409
+    ],
410
+    "METE3901": [
411
+        "MICROSATELITES I ",
412
+        "3"
413
+    ],
414
+    "NUTR4031": [
415
+        "CIENCIA DE LOS ALIMENTOS ",
416
+        "3"
417
+    ],
418
+    "NUTR4041": [
419
+        "NUTRICION HUMANA I ",
420
+        "3"
421
+    ],
422
+    "NUTR4042": [
423
+        "NUTRICION HUMANA II ",
424
+        "3"
425
+    ],
426
+    "NUTR4045": [
427
+        "NUTR HUMANA APLICADA I ",
428
+        "1"
429
+    ],
430
+    "NUTR4055": [
431
+        "COMPRA ALI SIST SERV ",
432
+        "2"
433
+    ],
434
+    "NUTR4068": [
435
+        "DISEN FACIL, COMPRA EQUIPO",
436
+        "2"
437
+    ],
438
+    "NUTR4075": [
439
+        "ADMI SIST SERV ALIMENTOS ",
440
+        "3"
441
+    ],
442
+    "NUTR4076": [
443
+        "APL CONCEPT ADM SERV ALIM ",
444
+        "2"
445
+    ],
446
+    "NUTR4085": [
447
+        "PRODUCCION ALIMENTOS ",
448
+        "3"
449
+    ],
450
+    "NUTR4085_LAB": [
451
+        "PRODUCCION ",
452
+        "3"
453
+    ],
454
+    "NUTR4086": [
455
+        "MENU SIST SERV ALIMENTOS ",
456
+        "3"
457
+    ],
458
+    "NUTR4158": [
459
+        "BIOQUIMICA HUMANA ",
460
+        "3"
461
+    ],
462
+    "NUTR4159": [
463
+        "LABORATORIO BIOQU HUMANA ",
464
+        "1"
465
+    ],
466
+    "NUTR4165": [
467
+        "DIETETICA CLINICA ",
468
+        "2"
469
+    ],
470
+    "NUTR4166": [
471
+        "DIETETICA CLIN AVANZADA ",
472
+        "2"
473
+    ],
474
+    "NUTR4169": [
475
+        "DIETETICA CLINICA APLICADA",
476
+        "1"
477
+    ],
478
+    "NUTR4170": [
479
+        "METOD ENSEN DE NUTRICION ",
480
+        "2"
481
+    ],
482
+    "NUTR4175": [
483
+        "PRACTICA ",
484
+        "1"
485
+    ],
486
+    "NUTR4175_LAB": [
487
+        "PRACTICA ENS NUTRICION ",
488
+        "1"
489
+    ],
490
+    "NUTR4176": [
491
+        "NUTRICION EN LA COMUNIDAD ",
492
+        "2"
493
+    ],
494
+    "NUTR4198": [
495
+        "METODOS INV EN NUTR ",
496
+        "2"
497
+    ],
498
+    "NUTR4225": [
499
+        "ASPEC PROF DE NUTR Y DIET ",
500
+        "1"
501
+    ],
502
+    "NUTR4501": [
503
+        "NUTRICION INTEGRATIVA I ",
504
+        "1"
505
+    ],
506
+    "NUTR4502": [
507
+        "NUTRICION INTEGRATIVA II ",
508
+        "1"
509
+    ],
510
+    "NUTR4503": [
511
+        "NUTRICION ",
512
+        "1"
513
+    ],
514
+    "NUTR5997": [
515
+        "TEMAS CONT ALIMENTOS NUTRI",
516
+        "3"
517
+    ],
518
+    "QUIM3001": [
519
+        "QUIMICA GENERAL I ",
520
+        "4"
521
+    ],
522
+    "QUIM3001_LAB": [
523
+        "LABORATORIO ",
524
+        "0"
525
+    ],
526
+    "QUIM3015": [
527
+        "COMPENDIO QUIM ORGANICA ",
528
+        "4"
529
+    ],
530
+    "QUIM3015_LAB": [
531
+        "LABORATORIO ",
532
+        "0"
533
+    ],
534
+    "QUIM3031": [
535
+        "QUIMICA ORGANICA I ",
536
+        "4"
537
+    ],
538
+    "QUIM3031_LAB": [
539
+        "LABORATORIO ",
540
+        "0"
541
+    ],
542
+    "QUIM3073": [
543
+        "MENTORIAS EN QUIMICA I ",
544
+        "1"
545
+    ],
546
+    "QUIM3255": [
547
+        "ANALISIS QUIMICO I ",
548
+        "4"
549
+    ],
550
+    "QUIM3255_LAB": [
551
+        "LABORATORIO ",
552
+        "0"
553
+    ],
554
+    "QUIM3451": [
555
+        "QUIMICA ORGANICA I ",
556
+        "4"
557
+    ],
558
+    "QUIM3451_LAB": [
559
+        "LABORATORIO ",
560
+        "0"
561
+    ],
562
+    "QUIM4000": [
563
+        "QUIMICA INORGANICA ",
564
+        "3"
565
+    ],
566
+    "QUIM4015": [
567
+        "QUIM ANALITICA INSTRUMEN ",
568
+        "4"
569
+    ],
570
+    "QUIM4015_LAB": [
571
+        "LABORATORIO ",
572
+        "0"
573
+    ],
574
+    "QUIM4025": [
575
+        "METODOS DE QUIM ORGANICA ",
576
+        "3"
577
+    ],
578
+    "QUIM4041": [
579
+        "QUIMICA FISICA I ",
580
+        "3"
581
+    ],
582
+    "QUIM4041_LAB": [
583
+        "CONFERENCIA ",
584
+        "0"
585
+    ],
586
+    "QUIM4043": [
587
+        "LABORATORIO INTERMED I ",
588
+        "2"
589
+    ],
590
+    "QUIM4043_LAB": [
591
+        "LABORATORIO ",
592
+        "0"
593
+    ],
594
+    "QUIM4055": [
595
+        "BIOQUIMICA ",
596
+        "3"
597
+    ],
598
+    "QUIM4117": [
599
+        "TUTORIA EN QUIMICA ",
600
+        "1"
601
+    ],
602
+    "QUIM4999": [
603
+        "INVESTIG NO GRADUADA ",
604
+        "1"
605
+    ],
606
+    "QUIM5995": [
607
+        "REDACCION PERSUASIVA CIENC",
608
+        "2"
609
+    ],
610
+    "QUIM5995_LAB": [
611
+        "QUIMICA MEDICINAL ",
612
+        "3"
613
+    ]
614
+}

primer_sem/Ciencias_Naturales_Grad.json → server/primer_sem/Ciencias_Naturales_Grad.json 查看文件


primer_sem/Ciencias_Sociales.json → server/primer_sem/Ciencias_Sociales.json 查看文件


primer_sem/Ciencias_Sociales_Grad.json → server/primer_sem/Ciencias_Sociales_Grad.json 查看文件


primer_sem/Comunicaciones.json → server/primer_sem/Comunicaciones.json 查看文件


primer_sem/Comunicaciones_Grad.json → server/primer_sem/Comunicaciones_Grad.json 查看文件


primer_sem/Educacion.json → server/primer_sem/Educacion.json 查看文件


primer_sem/Educacion_Continua.json → server/primer_sem/Educacion_Continua.json 查看文件


primer_sem/Educacion_Grad.json → server/primer_sem/Educacion_Grad.json 查看文件


primer_sem/Escuela_Derecho.json → server/primer_sem/Escuela_Derecho.json 查看文件


primer_sem/Escuela_Grad_Ciencia_Tech_Info.json → server/primer_sem/Escuela_Grad_Ciencia_Tech_Info.json 查看文件


primer_sem/Estudios_Generales.json → server/primer_sem/Estudios_Generales.json 查看文件


primer_sem/Humanidades.json → server/primer_sem/Humanidades.json 查看文件


primer_sem/Humanidades_Grad.json → server/primer_sem/Humanidades_Grad.json 查看文件


primer_sem/Planificacion.json → server/primer_sem/Planificacion.json 查看文件


primer_sem/primer_parse.py → server/primer_sem/primer_parse.py 查看文件

@@ -7,7 +7,7 @@ def initial_parse(name, url):
7 7
 
8 8
     table_MN = pd.read_html(url)
9 9
     df = table_MN[0]
10
-    
10
+
11 11
     df.columns = ['Curso', 'Nombre', 'c', 'Dias', 'Hora', 'Salon']
12 12
 
13 13
     upi = df[['Curso', 'Nombre', 'Dias', 'Hora', 'Salon']]
@@ -26,7 +26,6 @@ def final_parse(name):
26 26
 
27 27
     newdata = {}
28 28
 
29
-   
30 29
     for item in data:
31 30
         # print(item)
32 31
         if(item["Curso"] != None):
@@ -36,7 +35,6 @@ def final_parse(name):
36 35
 
37 36
             courseName = info[0]
38 37
             creditos = info[1][-1]
39
-           
40 38
 
41 39
             if(course in newdata):
42 40
                 if(newdata[course][0] != courseName):
@@ -45,19 +43,15 @@ def final_parse(name):
45 43
                         newdata[newKey] = []
46 44
                         newdata[newKey].append(courseName)
47 45
                         newdata[newKey].append(creditos)
48
-            
46
+
49 47
             else:
50 48
                 newdata[course] = []
51 49
                 newdata[course].append(courseName)
52 50
                 newdata[course].append(creditos)
53 51
 
54
-
55 52
     # print(newdata)
56 53
     # print(len(newdata))
57 54
 
58
-
59
-     
60
-
61 55
     with open(f'{name}.json', 'w') as f_out:
62 56
         json.dump(newdata, f_out)
63 57
 

二進制
server/restful/__pycache__/__init__.cpython-38.pyc 查看文件


二進制
server/restful/__pycache__/settings.cpython-38.pyc 查看文件


二進制
server/restful/__pycache__/urls.cpython-38.pyc 查看文件


二進制
server/restful/__pycache__/wsgi.cpython-38.pyc 查看文件


+ 2
- 5
server/restful/settings.py 查看文件

@@ -28,7 +28,6 @@ DEBUG = True
28 28
 
29 29
 ALLOWED_HOSTS = []
30 30
 
31
-import os
32 31
 
33 32
 LOGGING = {
34 33
     'version': 1,
@@ -57,8 +56,7 @@ INSTALLED_APPS = [
57 56
     'django.contrib.messages',
58 57
     'django.contrib.staticfiles',
59 58
     'CompanionApp',
60
-    'rest_framework',
61
-    'corsheaders'
59
+    'rest_framework'
62 60
 ]
63 61
 
64 62
 MIDDLEWARE = [
@@ -69,7 +67,6 @@ MIDDLEWARE = [
69 67
     'django.contrib.auth.middleware.AuthenticationMiddleware',
70 68
     'django.contrib.messages.middleware.MessageMiddleware',
71 69
     'django.middleware.clickjacking.XFrameOptionsMiddleware',
72
-    'corsheaders.middleware.CorsMiddleware',
73 70
     'django.middleware.common.CommonMiddleware',
74 71
 ]
75 72
 
@@ -102,7 +99,7 @@ DATABASES = {
102 99
         'ENGINE': 'django.db.backends.postgresql',
103 100
         'NAME': 'iupi',
104 101
         'USER': 'postgres',
105
-        'PASSWORD': 'diego',
102
+        'PASSWORD': 'Danielsofia12',
106 103
         'HOST': 'localhost'
107 104
     }
108 105
 }

segundo_sem/Admi2.json → server/segundo_sem/Admi2.json 查看文件


segundo_sem/Admi_Grad2.json → server/segundo_sem/Admi_Grad2.json 查看文件


segundo_sem/Arqui2.json → server/segundo_sem/Arqui2.json 查看文件


segundo_sem/Arqui_Grad2.json → server/segundo_sem/Arqui_Grad2.json 查看文件


segundo_sem/Asuntos_Aca2.json → server/segundo_sem/Asuntos_Aca2.json 查看文件


segundo_sem/Ciencias_Militares2.json → server/segundo_sem/Ciencias_Militares2.json 查看文件


segundo_sem/Ciencias_Naturales2.json → server/segundo_sem/Ciencias_Naturales2.json 查看文件


segundo_sem/Ciencias_Naturales_Grad2.json → server/segundo_sem/Ciencias_Naturales_Grad2.json 查看文件


segundo_sem/Ciencias_Sociales2.json → server/segundo_sem/Ciencias_Sociales2.json 查看文件


segundo_sem/Ciencias_Sociales_Grad2.json → server/segundo_sem/Ciencias_Sociales_Grad2.json 查看文件


segundo_sem/Comunicaciones2.json → server/segundo_sem/Comunicaciones2.json 查看文件


segundo_sem/Comunicaciones_Grad2.json → server/segundo_sem/Comunicaciones_Grad2.json 查看文件


segundo_sem/Educacion2.json → server/segundo_sem/Educacion2.json 查看文件


segundo_sem/Educacion_Continua2.json → server/segundo_sem/Educacion_Continua2.json 查看文件


segundo_sem/Educacion_Grad2.json → server/segundo_sem/Educacion_Grad2.json 查看文件


segundo_sem/Escuela_Derecho2.json → server/segundo_sem/Escuela_Derecho2.json 查看文件


segundo_sem/Escuela_Grad_Ciencia_Tech_Info2.json → server/segundo_sem/Escuela_Grad_Ciencia_Tech_Info2.json 查看文件


segundo_sem/Estudios_Generales2.json → server/segundo_sem/Estudios_Generales2.json 查看文件


segundo_sem/Humanidades2.json → server/segundo_sem/Humanidades2.json 查看文件


segundo_sem/Humanidades_Grad2.json → server/segundo_sem/Humanidades_Grad2.json 查看文件


segundo_sem/Planificacion2.json → server/segundo_sem/Planificacion2.json 查看文件


segundo_sem/second_parser.py → server/segundo_sem/second_parser.py 查看文件

@@ -94,7 +94,7 @@ if __name__ == "__main__":
94 94
                     "Humanidades_Grad": "https://miupi.uprrp.edu/horarios/enero-2019/RBA120_HU2.HTML",
95 95
                     "Planificacion": "https://miupi.uprrp.edu/horarios/enero-2019/RBA120_PL.HTML"}
96 96
     # faculty_urls = {"Generales": "https://miupi.uprrp.edu/horarios/enero-2019/RBA120_EG.HTML"}
97
-   
97
+    
98 98
     for key in faculty_urls:
99 99
         initial_parse(key, faculty_urls[key])
100 100
         final_parse(key)