Browse Source

filmix.co

Ivars 6 years ago
parent
commit
fd675bb34a
3 changed files with 269 additions and 434 deletions
  1. 3
    0
      changelog.md
  2. 257
    425
      project.wpr
  3. 9
    9
      sources/filmix.py

+ 3
- 0
changelog.md View File

@@ -1,3 +1,6 @@
1
+**18.05.2018**:
2
+- salabots filmix domeins (tagad filmix.co)
3
+
1 4
 **10.04.2018**:
2 5
 - salaboti shortcut.lv videonomas saraksti
3 6
 

+ 257
- 425
project.wpr View File

@@ -186,11 +186,11 @@ debug.breakpoints = {loc('Downloader.py'): {182L: (0,
186 186
             None,
187 187
             1,
188 188
             0)},
189
-                     loc('unknown:<untitled> #2'): {10: (0,
189
+                     loc('unknown:<untitled> #1'): {10: (0,
190 190
         None,
191 191
         1,
192 192
         0)},
193
-                     loc('unknown:<untitled> #1'): {2: (0,
193
+                     loc('unknown:<untitled> #2'): {2: (0,
194 194
         None,
195 195
         1,
196 196
         0)}}
@@ -819,18 +819,18 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
819 819
         'top-node': [('generic attribute',
820 820
                       loc('../../../../../Python27/lib/site-packages/PIL/Image.py'),
821 821
                       'ADAPTIVE')]},
822
-        loc('unknown:<untitled> #4'): {'column-widths': [1.0],
822
+        loc('unknown:<untitled> #5'): {'column-widths': [1.0],
823 823
                                        'expanded-nodes': [],
824 824
                                        'selected-nodes': [],
825 825
                                        'top-node': None},
826
-        loc('unknown:<untitled> #3'): {'expanded-nodes': [],
826
+        loc('unknown:<untitled> #6'): {'expanded-nodes': [],
827 827
                                        'selected-nodes': [],
828 828
                                        'top-node': None},
829
-        loc('unknown:<untitled> #6'): {'column-widths': [1.0],
830
-                                       'expanded-nodes': [],
829
+        loc('unknown:<untitled> #4'): {'expanded-nodes': [],
831 830
                                        'selected-nodes': [],
832 831
                                        'top-node': None},
833
-        loc('unknown:<untitled> #5'): {'expanded-nodes': [],
832
+        loc('unknown:<untitled> #3'): {'column-widths': [1.0],
833
+                                       'expanded-nodes': [],
834 834
                                        'selected-nodes': [],
835 835
                                        'top-node': None}},
836 836
                                 'browse_mode': u'Current Module',
@@ -857,7 +857,7 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
857 857
                                None)],
858 858
                  'primary_view_state': {'area': 'wide',
859 859
         'constraint': None,
860
-        'current_pages': [2,
860
+        'current_pages': [4,
861 861
                           0],
862 862
         'notebook_display': 'normal',
863 863
         'notebook_percent': 0.4595676541232986,
@@ -891,9 +891,9 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
891 891
                                        'fMatchCase': False,
892 892
                                        'fOmitBinary': True,
893 893
                                        'fRegexFlags': 46,
894
-                                       'fReplaceText': u'https://ltv.lsm.lv',
894
+                                       'fReplaceText': u'filmix.co',
895 895
                                        'fReverse': False,
896
-                                       'fSearchText': u'1.4',
896
+                                       'fSearchText': u'filmix.me',
897 897
                                        'fStartPos': 0,
898 898
                                        'fStyle': 'text',
899 899
                                        'fWholeWords': False,
@@ -906,7 +906,7 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
906 906
                                       'fReplaceOnDisk': False,
907 907
                                       'fShowFirstMatch': False,
908 908
                                       'fShowLineno': True,
909
-                                      'fShowReplaceWidgets': False}}),
909
+                                      'fShowReplaceWidgets': True}}),
910 910
                      ('batch-search',
911 911
                       'wide',
912 912
                       0,
@@ -1021,72 +1021,42 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1021 1021
                        'selection_end': 174L,
1022 1022
                        'selection_start': 174L,
1023 1023
                        'zoom': 0L})],
1024
-        'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('sources/replay.py'),
1024
+        'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('sources/ltc.py'),
1025 1025
         {'attrib-starts': [('Source',
1026
-                            31),
1027
-                           ('Source.__init__',
1028
-                            33)],
1029
-         'first-line': 31L,
1030
-         'folded-linenos': [],
1031
-         'sel-line': 36L,
1032
-         'sel-line-start': 1153L,
1033
-         'selection_end': 1171L,
1034
-         'selection_start': 1166L,
1026
+                            26),
1027
+                           ('Source.get_content',
1028
+                            78)],
1029
+         'first-line': 174L,
1030
+         'folded-linenos': [108L,
1031
+                            131L,
1032
+                            160L,
1033
+                            220L,
1034
+                            231L,
1035
+                            257L,
1036
+                            276L,
1037
+                            295L,
1038
+                            319L,
1039
+                            349L,
1040
+                            350L,
1041
+                            367L,
1042
+                            398L,
1043
+                            411L,
1044
+                            525L],
1045
+         'sel-line': 184L,
1046
+         'sel-line-start': 8707L,
1047
+         'selection_end': 8757L,
1048
+         'selection_start': 8754L,
1035 1049
          'zoom': 0L},
1036
-        1523888459.999],
1037
-        [loc('sources/replay.py'),
1038
-         {'attrib-starts': [('Source',
1039
-                             31),
1040
-                            ('Source.get_content',
1041
-                             42)],
1042
-          'first-line': 285L,
1043
-          'folded-linenos': [],
1044
-          'sel-line': 298L,
1045
-          'sel-line-start': 15564L,
1046
-          'selection_end': 15564L,
1047
-          'selection_start': 15564L,
1048
-          'zoom': 0L},
1049
-         1523904590.624],
1050
+        1524827996.646],
1050 1051
         [loc('sources/ltc.py'),
1051 1052
          {'attrib-starts': [('Source',
1052 1053
                              26),
1053
-                            ('Source.get_content',
1054
-                             78)],
1055
-          'first-line': 77L,
1056
-          'folded-linenos': [108L,
1057
-                             131L,
1058
-                             160L,
1059
-                             170L,
1060
-                             183L,
1061
-                             220L,
1062
-                             231L,
1063
-                             257L,
1064
-                             276L,
1065
-                             295L,
1066
-                             319L,
1067
-                             349L,
1068
-                             350L,
1069
-                             367L,
1070
-                             398L,
1071
-                             411L,
1072
-                             525L],
1073
-          'sel-line': 85L,
1074
-          'sel-line-start': 3249L,
1075
-          'selection_end': 3249L,
1076
-          'selection_start': 3249L,
1077
-          'zoom': 0L},
1078
-         1524823157.95],
1079
-        [loc('sources/ltc.py'),
1080
-         {'attrib-starts': [('Source',
1081
-                             26),
1082
-                            ('Source.login',
1083
-                             788)],
1084
-          'first-line': 793L,
1054
+                            ('Source.__init__',
1055
+                             28)],
1056
+          'first-line': 31L,
1085 1057
           'folded-linenos': [108L,
1086 1058
                              131L,
1087 1059
                              160L,
1088
-                             170L,
1089
-                             183L,
1090 1060
                              220L,
1091 1061
                              231L,
1092 1062
                              257L,
@@ -1099,22 +1069,21 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1099 1069
                              398L,
1100 1070
                              411L,
1101 1071
                              525L],
1102
-          'sel-line': 801L,
1103
-          'sel-line-start': 42898L,
1104
-          'selection_end': 42923L,
1105
-          'selection_start': 42923L,
1072
+          'sel-line': 36L,
1073
+          'sel-line-start': 1390L,
1074
+          'selection_end': 1451L,
1075
+          'selection_start': 1448L,
1106 1076
           'zoom': 0L},
1107
-         1524827979.145],
1077
+         1524828002.53],
1108 1078
         [loc('sources/ltc.py'),
1109 1079
          {'attrib-starts': [('Source',
1110 1080
                              26),
1111 1081
                             ('Source.get_content',
1112 1082
                              78)],
1113
-          'first-line': 107L,
1083
+          'first-line': 92L,
1114 1084
           'folded-linenos': [108L,
1115 1085
                              131L,
1116 1086
                              160L,
1117
-                             183L,
1118 1087
                              220L,
1119 1088
                              231L,
1120 1089
                              257L,
@@ -1127,22 +1096,21 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1127 1096
                              398L,
1128 1097
                              411L,
1129 1098
                              525L],
1130
-          'sel-line': 171L,
1131
-          'sel-line-start': 8035L,
1132
-          'selection_end': 8085L,
1133
-          'selection_start': 8082L,
1099
+          'sel-line': 102L,
1100
+          'sel-line-start': 4467L,
1101
+          'selection_end': 4494L,
1102
+          'selection_start': 4491L,
1134 1103
           'zoom': 0L},
1135
-         1524827983.521],
1104
+         1524828004.058],
1136 1105
         [loc('sources/ltc.py'),
1137 1106
          {'attrib-starts': [('Source',
1138 1107
                              26),
1139
-                            ('Source.get_content',
1140
-                             78)],
1141
-          'first-line': 107L,
1108
+                            ('Source.__init__',
1109
+                             28)],
1110
+          'first-line': 31L,
1142 1111
           'folded-linenos': [108L,
1143 1112
                              131L,
1144 1113
                              160L,
1145
-                             183L,
1146 1114
                              220L,
1147 1115
                              231L,
1148 1116
                              257L,
@@ -1155,18 +1123,18 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1155 1123
                              398L,
1156 1124
                              411L,
1157 1125
                              525L],
1158
-          'sel-line': 172L,
1159
-          'sel-line-start': 8160L,
1160
-          'selection_end': 8210L,
1161
-          'selection_start': 8207L,
1126
+          'sel-line': 36L,
1127
+          'sel-line-start': 1390L,
1128
+          'selection_end': 1451L,
1129
+          'selection_start': 1448L,
1162 1130
           'zoom': 0L},
1163
-         1524827984.594],
1131
+         1524828020.442],
1164 1132
         [loc('sources/ltc.py'),
1165 1133
          {'attrib-starts': [('Source',
1166 1134
                              26),
1167
-                            ('Source.get_content',
1168
-                             78)],
1169
-          'first-line': 174L,
1135
+                            ('Source.get_streams',
1136
+                             549)],
1137
+          'first-line': 555L,
1170 1138
           'folded-linenos': [108L,
1171 1139
                              131L,
1172 1140
                              160L,
@@ -1182,361 +1150,209 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1182 1150
                              398L,
1183 1151
                              411L,
1184 1152
                              525L],
1185
-          'sel-line': 184L,
1186
-          'sel-line-start': 8707L,
1187
-          'selection_end': 8757L,
1188
-          'selection_start': 8754L,
1153
+          'sel-line': 564L,
1154
+          'sel-line-start': 33428L,
1155
+          'selection_end': 33428L,
1156
+          'selection_start': 33428L,
1189 1157
           'zoom': 0L},
1190
-         1524827986.047],
1191
-        [loc('sources/ltc.py'),
1158
+         1526594085.844],
1159
+        [loc('sources/filmix.py'),
1192 1160
          {'attrib-starts': [('Source',
1193
-                             26),
1194
-                            ('Source.get_content',
1195
-                             78)],
1196
-          'first-line': 177L,
1197
-          'folded-linenos': [108L,
1198
-                             131L,
1199
-                             160L,
1200
-                             220L,
1201
-                             231L,
1202
-                             257L,
1203
-                             276L,
1204
-                             295L,
1205
-                             319L,
1206
-                             349L,
1207
-                             350L,
1208
-                             367L,
1209
-                             398L,
1210
-                             411L,
1211
-                             525L],
1212
-          'sel-line': 185L,
1213
-          'sel-line-start': 8832L,
1214
-          'selection_end': 8882L,
1215
-          'selection_start': 8879L,
1161
+                             31),
1162
+                            ('Source.get_streams',
1163
+                             263)],
1164
+          'first-line': 2L,
1165
+          'folded-linenos': [],
1166
+          'sel-line': 288L,
1167
+          'sel-line-start': 12733L,
1168
+          'selection_end': 12813L,
1169
+          'selection_start': 12813L,
1216 1170
           'zoom': 0L},
1217
-         1524827986.65],
1218
-        [loc('sources/ltc.py'),
1171
+         1526594099.017],
1172
+        [loc('sources/filmix.py'),
1219 1173
          {'attrib-starts': [('Source',
1220
-                             26)],
1221
-          'first-line': 685L,
1222
-          'folded-linenos': [108L,
1223
-                             131L,
1224
-                             160L,
1225
-                             220L,
1226
-                             231L,
1227
-                             257L,
1228
-                             276L,
1229
-                             295L,
1230
-                             319L,
1231
-                             349L,
1232
-                             350L,
1233
-                             367L,
1234
-                             398L,
1235
-                             411L,
1236
-                             525L],
1237
-          'sel-line': 695L,
1238
-          'sel-line-start': 38661L,
1239
-          'selection_end': 38707L,
1240
-          'selection_start': 38704L,
1174
+                             31),
1175
+                            ('Source.get_movie_info',
1176
+                             355)],
1177
+          'first-line': 354L,
1178
+          'folded-linenos': [],
1179
+          'sel-line': 362L,
1180
+          'sel-line-start': 16151L,
1181
+          'selection_end': 16178L,
1182
+          'selection_start': 16172L,
1241 1183
           'zoom': 0L},
1242
-         1524827987.49],
1243
-        [loc('sources/ltc.py'),
1184
+         1526594100.287],
1185
+        [loc('sources/filmix.py'),
1244 1186
          {'attrib-starts': [('Source',
1245
-                             26),
1246
-                            ('Source.get_content',
1247
-                             78)],
1248
-          'first-line': 131L,
1249
-          'folded-linenos': [108L,
1250
-                             131L,
1251
-                             160L,
1252
-                             220L,
1253
-                             231L,
1254
-                             257L,
1255
-                             276L,
1256
-                             295L,
1257
-                             319L,
1258
-                             349L,
1259
-                             350L,
1260
-                             367L,
1261
-                             398L,
1262
-                             411L,
1263
-                             525L],
1264
-          'sel-line': 171L,
1265
-          'sel-line-start': 8035L,
1266
-          'selection_end': 8085L,
1267
-          'selection_start': 8082L,
1187
+                             31),
1188
+                            ('Source.get_movie_info',
1189
+                             355)],
1190
+          'first-line': 354L,
1191
+          'folded-linenos': [],
1192
+          'sel-line': 362L,
1193
+          'sel-line-start': 16151L,
1194
+          'selection_end': 16181L,
1195
+          'selection_start': 16181L,
1268 1196
           'zoom': 0L},
1269
-         1524827989.076],
1270
-        [loc('sources/ltc.py'),
1197
+         1526594111.402],
1198
+        [loc('sources/filmix.py'),
1271 1199
          {'attrib-starts': [('Source',
1272
-                             26),
1273
-                            ('Source.get_content',
1274
-                             78)],
1275
-          'first-line': 131L,
1276
-          'folded-linenos': [108L,
1277
-                             131L,
1278
-                             160L,
1279
-                             220L,
1280
-                             231L,
1281
-                             257L,
1282
-                             276L,
1283
-                             295L,
1284
-                             319L,
1285
-                             349L,
1286
-                             350L,
1287
-                             367L,
1288
-                             398L,
1289
-                             411L,
1290
-                             525L],
1291
-          'sel-line': 172L,
1292
-          'sel-line-start': 8160L,
1293
-          'selection_end': 8210L,
1294
-          'selection_start': 8207L,
1200
+                             31),
1201
+                            ('Source.get_movie_info',
1202
+                             355)],
1203
+          'first-line': 354L,
1204
+          'folded-linenos': [],
1205
+          'sel-line': 362L,
1206
+          'sel-line-start': 16151L,
1207
+          'selection_end': 16181L,
1208
+          'selection_start': 16172L,
1295 1209
           'zoom': 0L},
1296
-         1524827989.567],
1297
-        [loc('sources/ltc.py'),
1210
+         1526594111.565],
1211
+        [loc('sources/filmix.py'),
1298 1212
          {'attrib-starts': [('Source',
1299
-                             26),
1300
-                            ('Source.get_content',
1301
-                             78)],
1302
-          'first-line': 174L,
1303
-          'folded-linenos': [108L,
1304
-                             131L,
1305
-                             160L,
1306
-                             220L,
1307
-                             231L,
1308
-                             257L,
1309
-                             276L,
1310
-                             295L,
1311
-                             319L,
1312
-                             349L,
1313
-                             350L,
1314
-                             367L,
1315
-                             398L,
1316
-                             411L,
1317
-                             525L],
1318
-          'sel-line': 184L,
1319
-          'sel-line-start': 8707L,
1320
-          'selection_end': 8757L,
1321
-          'selection_start': 8754L,
1213
+                             31),
1214
+                            ('Source.get_movie_info',
1215
+                             355)],
1216
+          'first-line': 358L,
1217
+          'folded-linenos': [],
1218
+          'sel-line': 366L,
1219
+          'sel-line-start': 16279L,
1220
+          'selection_end': 16319L,
1221
+          'selection_start': 16310L,
1322 1222
           'zoom': 0L},
1323
-         1524827990.462],
1324
-        [loc('sources/ltc.py'),
1223
+         1526594114.253],
1224
+        [loc('sources/filmix.py'),
1325 1225
          {'attrib-starts': [('Source',
1326
-                             26),
1327
-                            ('Source.get_content',
1328
-                             78)],
1329
-          'first-line': 177L,
1330
-          'folded-linenos': [108L,
1331
-                             131L,
1332
-                             160L,
1333
-                             220L,
1334
-                             231L,
1335
-                             257L,
1336
-                             276L,
1337
-                             295L,
1338
-                             319L,
1339
-                             349L,
1340
-                             350L,
1341
-                             367L,
1342
-                             398L,
1343
-                             411L,
1344
-                             525L],
1345
-          'sel-line': 185L,
1346
-          'sel-line-start': 8832L,
1347
-          'selection_end': 8882L,
1348
-          'selection_start': 8879L,
1226
+                             31),
1227
+                            ('Source.__init__',
1228
+                             33)],
1229
+          'first-line': 30L,
1230
+          'folded-linenos': [],
1231
+          'sel-line': 35L,
1232
+          'sel-line-start': 941L,
1233
+          'selection_end': 972L,
1234
+          'selection_start': 972L,
1349 1235
           'zoom': 0L},
1350
-         1524827991.018],
1351
-        [loc('sources/ltc.py'),
1236
+         1526594119.161],
1237
+        [loc('sources/filmix.py'),
1352 1238
          {'attrib-starts': [('Source',
1353
-                             26)],
1354
-          'first-line': 685L,
1355
-          'folded-linenos': [108L,
1356
-                             131L,
1357
-                             160L,
1358
-                             220L,
1359
-                             231L,
1360
-                             257L,
1361
-                             276L,
1362
-                             295L,
1363
-                             319L,
1364
-                             349L,
1365
-                             350L,
1366
-                             367L,
1367
-                             398L,
1368
-                             411L,
1369
-                             525L],
1370
-          'sel-line': 695L,
1371
-          'sel-line-start': 38661L,
1372
-          'selection_end': 38707L,
1373
-          'selection_start': 38704L,
1239
+                             31),
1240
+                            ('Source.__init__',
1241
+                             33)],
1242
+          'first-line': 30L,
1243
+          'folded-linenos': [],
1244
+          'sel-line': 35L,
1245
+          'sel-line-start': 941L,
1246
+          'selection_end': 972L,
1247
+          'selection_start': 963L,
1374 1248
           'zoom': 0L},
1375
-         1524827992.254],
1376
-        [loc('sources/ltc.py'),
1249
+         1526594119.327],
1250
+        [loc('sources/filmix.py'),
1377 1251
          {'attrib-starts': [('Source',
1378
-                             26),
1379
-                            ('Source.get_content',
1380
-                             78)],
1381
-          'first-line': 131L,
1382
-          'folded-linenos': [108L,
1383
-                             131L,
1384
-                             160L,
1385
-                             220L,
1386
-                             231L,
1387
-                             257L,
1388
-                             276L,
1389
-                             295L,
1390
-                             319L,
1391
-                             349L,
1392
-                             350L,
1393
-                             367L,
1394
-                             398L,
1395
-                             411L,
1396
-                             525L],
1397
-          'sel-line': 171L,
1398
-          'sel-line-start': 8035L,
1399
-          'selection_end': 8085L,
1400
-          'selection_start': 8082L,
1252
+                             31),
1253
+                            ('Source.__init__',
1254
+                             33)],
1255
+          'first-line': 30L,
1256
+          'folded-linenos': [],
1257
+          'sel-line': 37L,
1258
+          'sel-line-start': 1008L,
1259
+          'selection_end': 1038L,
1260
+          'selection_start': 1038L,
1401 1261
           'zoom': 0L},
1402
-         1524827992.81],
1403
-        [loc('sources/ltc.py'),
1262
+         1526594125.384],
1263
+        [loc('sources/filmix.py'),
1404 1264
          {'attrib-starts': [('Source',
1405
-                             26),
1406
-                            ('Source.get_content',
1407
-                             78)],
1408
-          'first-line': 131L,
1409
-          'folded-linenos': [108L,
1410
-                             131L,
1411
-                             160L,
1412
-                             220L,
1413
-                             231L,
1414
-                             257L,
1415
-                             276L,
1416
-                             295L,
1417
-                             319L,
1418
-                             349L,
1419
-                             350L,
1420
-                             367L,
1421
-                             398L,
1422
-                             411L,
1423
-                             525L],
1424
-          'sel-line': 172L,
1425
-          'sel-line-start': 8160L,
1426
-          'selection_end': 8210L,
1427
-          'selection_start': 8207L,
1265
+                             31),
1266
+                            ('Source.__init__',
1267
+                             33)],
1268
+          'first-line': 30L,
1269
+          'folded-linenos': [],
1270
+          'sel-line': 37L,
1271
+          'sel-line-start': 1008L,
1272
+          'selection_end': 1038L,
1273
+          'selection_start': 1029L,
1428 1274
           'zoom': 0L},
1429
-         1524827993.355],
1430
-        [loc('sources/ltc.py'),
1275
+         1526594125.557],
1276
+        [loc('sources/filmix.py'),
1431 1277
          {'attrib-starts': [('Source',
1432
-                             26),
1433
-                            ('Source.get_content',
1434
-                             78)],
1435
-          'first-line': 174L,
1436
-          'folded-linenos': [108L,
1437
-                             131L,
1438
-                             160L,
1439
-                             220L,
1440
-                             231L,
1441
-                             257L,
1442
-                             276L,
1443
-                             295L,
1444
-                             319L,
1445
-                             349L,
1446
-                             350L,
1447
-                             367L,
1448
-                             398L,
1449
-                             411L,
1450
-                             525L],
1451
-          'sel-line': 184L,
1452
-          'sel-line-start': 8707L,
1453
-          'selection_end': 8757L,
1454
-          'selection_start': 8754L,
1278
+                             31),
1279
+                            ('Source.__init__',
1280
+                             33)],
1281
+          'first-line': 30L,
1282
+          'folded-linenos': [],
1283
+          'sel-line': 40L,
1284
+          'sel-line-start': 1133L,
1285
+          'selection_end': 1148L,
1286
+          'selection_start': 1139L,
1455 1287
           'zoom': 0L},
1456
-         1524827996.646],
1457
-        [loc('sources/ltc.py'),
1288
+         1526594128.471],
1289
+        [loc('sources/filmix.py'),
1458 1290
          {'attrib-starts': [('Source',
1459
-                             26),
1291
+                             31),
1460 1292
                             ('Source.__init__',
1461
-                             28)],
1462
-          'first-line': 31L,
1463
-          'folded-linenos': [108L,
1464
-                             131L,
1465
-                             160L,
1466
-                             220L,
1467
-                             231L,
1468
-                             257L,
1469
-                             276L,
1470
-                             295L,
1471
-                             319L,
1472
-                             349L,
1473
-                             350L,
1474
-                             367L,
1475
-                             398L,
1476
-                             411L,
1477
-                             525L],
1478
-          'sel-line': 36L,
1479
-          'sel-line-start': 1390L,
1480
-          'selection_end': 1451L,
1481
-          'selection_start': 1448L,
1293
+                             33)],
1294
+          'first-line': 40L,
1295
+          'folded-linenos': [],
1296
+          'sel-line': 50L,
1297
+          'sel-line-start': 1591L,
1298
+          'selection_end': 1628L,
1299
+          'selection_start': 1619L,
1482 1300
           'zoom': 0L},
1483
-         1524828002.53],
1484
-        [loc('sources/ltc.py'),
1301
+         1526594130.412],
1302
+        [loc('sources/filmix.py'),
1485 1303
          {'attrib-starts': [('Source',
1486
-                             26),
1304
+                             31),
1487 1305
                             ('Source.get_content',
1488
-                             78)],
1489
-          'first-line': 92L,
1490
-          'folded-linenos': [108L,
1491
-                             131L,
1492
-                             160L,
1493
-                             220L,
1494
-                             231L,
1495
-                             257L,
1496
-                             276L,
1497
-                             295L,
1498
-                             319L,
1499
-                             349L,
1500
-                             350L,
1501
-                             367L,
1502
-                             398L,
1503
-                             411L,
1504
-                             525L],
1505
-          'sel-line': 102L,
1506
-          'sel-line-start': 4467L,
1507
-          'selection_end': 4494L,
1508
-          'selection_start': 4491L,
1306
+                             56)],
1307
+          'first-line': 68L,
1308
+          'folded-linenos': [],
1309
+          'sel-line': 78L,
1310
+          'sel-line-start': 2577L,
1311
+          'selection_end': 2613L,
1312
+          'selection_start': 2613L,
1509 1313
           'zoom': 0L},
1510
-         1524828004.058],
1511
-        [loc('sources/ltc.py'),
1314
+         1526594132.495],
1315
+        [loc('sources/filmix.py'),
1512 1316
          {'attrib-starts': [('Source',
1513
-                             26),
1514
-                            ('Source.__init__',
1515
-                             28)],
1516
-          'first-line': 31L,
1517
-          'folded-linenos': [108L,
1518
-                             131L,
1519
-                             160L,
1520
-                             220L,
1521
-                             231L,
1522
-                             257L,
1523
-                             276L,
1524
-                             295L,
1525
-                             319L,
1526
-                             349L,
1527
-                             350L,
1528
-                             367L,
1529
-                             398L,
1530
-                             411L,
1531
-                             525L],
1532
-          'sel-line': 36L,
1533
-          'sel-line-start': 1390L,
1534
-          'selection_end': 1451L,
1535
-          'selection_start': 1448L,
1317
+                             31),
1318
+                            ('Source.get_content',
1319
+                             56)],
1320
+          'first-line': 68L,
1321
+          'folded-linenos': [],
1322
+          'sel-line': 78L,
1323
+          'sel-line-start': 2577L,
1324
+          'selection_end': 2613L,
1325
+          'selection_start': 2604L,
1326
+          'zoom': 0L},
1327
+         1526594132.675],
1328
+        [loc('sources/filmix.py'),
1329
+         {'attrib-starts': [('Source',
1330
+                             31),
1331
+                            ('Source.process_list',
1332
+                             191)],
1333
+          'first-line': 184L,
1334
+          'folded-linenos': [],
1335
+          'sel-line': 194L,
1336
+          'sel-line-start': 8440L,
1337
+          'selection_end': 8518L,
1338
+          'selection_start': 8509L,
1536 1339
           'zoom': 0L},
1537
-         1524828020.442]],
1340
+         1526594135.335],
1341
+        [loc('sources/filmix.py'),
1342
+         {'attrib-starts': [('Source',
1343
+                             31),
1344
+                            ('Source.process_list',
1345
+                             191)],
1346
+          'first-line': 188L,
1347
+          'folded-linenos': [],
1348
+          'sel-line': 196L,
1349
+          'sel-line-start': 8666L,
1350
+          'selection_end': 8759L,
1351
+          'selection_start': 8759L,
1352
+          'zoom': 0L},
1353
+         1526594136.652]],
1538 1354
         20),
1539
-        'current-loc': loc('sources/ltc.py'),
1355
+        'current-loc': loc('sources/filmix.py'),
1540 1356
         'editor-state-list': [(loc('run.py'),
1541 1357
                                {'attrib-starts': [('Main',
1542 1358
         22),
@@ -1666,6 +1482,18 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1666 1482
                                 'sel-line-start': 17L,
1667 1483
                                 'selection_end': 59L,
1668 1484
                                 'selection_start': 59L,
1485
+                                'zoom': 0L}),
1486
+                              (loc('sources/filmix.py'),
1487
+                               {'attrib-starts': [('Source',
1488
+        31),
1489
+        ('Source.process_list',
1490
+         191)],
1491
+                                'first-line': 188L,
1492
+                                'folded-linenos': [],
1493
+                                'sel-line': 196L,
1494
+                                'sel-line-start': 8666L,
1495
+                                'selection_end': 8759L,
1496
+                                'selection_start': 8750L,
1669 1497
                                 'zoom': 0L})],
1670 1498
         'has-focus': False,
1671 1499
         'locked': False},
@@ -1679,7 +1507,8 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1679 1507
          loc('sources/euronews.py'),
1680 1508
          loc('resolver.py'),
1681 1509
          loc('sources/config.py'),
1682
-         loc('changelog.md')]),
1510
+         loc('changelog.md'),
1511
+         loc('sources/filmix.py')]),
1683 1512
                                'open_files': [u'ContentSources.py',
1684 1513
         u'Downloader.py',
1685 1514
         u'changelog.md',
@@ -1690,7 +1519,8 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1690 1519
         u'sources/lmt.py',
1691 1520
         u'sources/replay.py',
1692 1521
         u'util.py',
1693
-        u'sources/ltc.py']},
1522
+        u'sources/ltc.py',
1523
+        u'sources/filmix.py']},
1694 1524
         'saved_notebook_display': None,
1695 1525
         'split_percents': {0: 0.5061155630535639},
1696 1526
         'splits': 2,
@@ -1705,7 +1535,8 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1705 1535
                          0,
1706 1536
                          2434,
1707 1537
                          1440)}]}
1708
-guimgr.recent-documents = [loc('sources/ltc.py'),
1538
+guimgr.recent-documents = [loc('sources/filmix.py'),
1539
+                           loc('sources/ltc.py'),
1709 1540
                            loc('util.py'),
1710 1541
                            loc('sources/replay.py'),
1711 1542
                            loc('changelog.md'),
@@ -2258,10 +2089,12 @@ proj.build-cmd = {None: ('default',
2258 2089
                          None)}
2259 2090
 proj.env-vars = {None: ('default',
2260 2091
                         [u''])}
2261
-search.replace-history = [u'https://replay.lsm.lv',
2092
+search.replace-history = [u'filmix.co',
2093
+                          u'https://replay.lsm.lv',
2262 2094
                           u'www.shortcut.lv',
2263 2095
                           u'shortcut.lv']
2264
-search.search-history = [u'1.4',
2096
+search.search-history = [u'filmix.me',
2097
+                         u'1.4',
2265 2098
                          u'1.3',
2266 2099
                          u'img =',
2267 2100
                          u'http:',
@@ -2279,8 +2112,7 @@ search.search-history = [u'1.4',
2279 2112
                          u'desc',
2280 2113
                          u'unqute',
2281 2114
                          u'raise',
2282
-                         u'can not find ',
2283
-                         u'get_head']
2115
+                         u'can not find ']
2284 2116
 testing.stored-results = (1,
2285 2117
                           [],
2286 2118
                           {})

+ 9
- 9
sources/filmix.py View File

@@ -33,12 +33,12 @@ class Source(SourceBase):
33 33
 
34 34
     def __init__(self,country="",cfg_path=None):
35 35
         self.name = "filmix"
36
-        self.title = "filmix.me"
36
+        self.title = "filmix.co"
37 37
         self.img = "filmix.png"
38
-        self.desc = "filmix.me satura skatīšanās"
38
+        self.desc = "filmix.co satura skatīšanās"
39 39
         self.country=country
40 40
         self.headers = headers2dict("""
41
-Host: filmix.me
41
+Host: filmix.co
42 42
 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
43 43
 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
44 44
 Accept-Language: en-US,en;q=0.5
@@ -48,7 +48,7 @@ User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox
48 48
 X-Requested-With: XMLHttpRequest
49 49
 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
50 50
 """)
51
-        self.url = "https://filmix.me/"
51
+        self.url = "https://filmix.co/"
52 52
         #self.login()
53 53
 
54 54
     def login(self,user="",password=""):
@@ -76,7 +76,7 @@ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
76 76
             #ses = requests.session()
77 77
             r = requests.get(self.url+data)
78 78
             cookie = r.cookies["FILMIXNET"]
79
-            url = "https://filmix.me/engine/ajax/sphinx_search.php"
79
+            url = "https://filmix.co/engine/ajax/sphinx_search.php"
80 80
             headers = headers2dict("""
81 81
 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
82 82
 Content-Type: application/x-www-form-urlencoded; charset=UTF-8
@@ -192,9 +192,9 @@ Cookie: FILMIXNET=%s;
192 192
     def process_list(self, r, content):
193 193
         for r2 in re.findall('<article class="shortstory line".+?</article>', r, re.DOTALL):
194 194
             #m2 = re.search(r'<a class="watch icon-play" itemprop="url" href="([^"]+)"', r2, re.DOTALL)
195
-            #<a class="watch icon-play" itemprop="url" href="https://filmix.me/dramy/110957-stolik-19-2017.html"
195
+            #<a class="watch icon-play" itemprop="url" href="https://filmix.co/dramy/110957-stolik-19-2017.html"
196 196
             #m = re.search(r'<a href="https://filmix\.me/play/(\d+)" class="watch icon-play">', r2, re.DOTALL)
197
-            m = re.search(r'<a class="watch icon-play" itemprop="url" href="https://filmix.me/\w+/(\d+)-', r2, re.DOTALL)
197
+            m = re.search(r'<a class="watch icon-play" itemprop="url" href="https://filmix.co/\w+/(\d+)-', r2, re.DOTALL)
198 198
             if not m: continue
199 199
             vid = m.group(1)
200 200
             data2 = "play/%s"%vid
@@ -360,11 +360,11 @@ Cookie: FILMIXNET=%s;
360 360
     Accept-Language: en-US,en;q=0.5
361 361
     Content-Type: application/x-www-form-urlencoded; charset=UTF-8
362 362
     X-Requested-With: XMLHttpRequest
363
-    Referer: https://filmix.me/play/%s
363
+    Referer: https://filmix.co/play/%s
364 364
     Cookie: ad_win12=1;
365 365
     """%vid )
366 366
         post_data = {"post_id":vid,"key=":key}
367
-        r = util.post("https://filmix.me/api/movies/player_data", data=post_data, headers = headers)
367
+        r = util.post("https://filmix.co/api/movies/player_data", data=post_data, headers = headers)
368 368
         if not r:
369 369
             raise Exception("Can not get movie info")
370 370
             #return []