Переглянути джерело

Filmix salabots (filmix.net ux filmix.me)

Ivars 8 роки тому
джерело
коміт
a19adf639c
6 змінених файлів з 419 додано та 292 видалено
  1. 376
    272
      PlayStream.wpr
  2. 1
    1
      imake.bat
  3. 9
    5
      resolver.py
  4. 24
    5
      resolvers/hqqresolver.py
  5. 8
    8
      sources/filmix.py
  6. 1
    1
      sources/kinofilmnet.py

+ 376
- 272
PlayStream.wpr Переглянути файл

@@ -48,6 +48,7 @@ proj.launch-config = {loc('ContentSources.py'): ('project',
48 48
         (u'http://walterebert.com/playground/video/hls/ts/480x270.m3u8',
49 49
          ''))}
50 50
 [user attributes]
51
+cache.last-mime-type = {loc('unknown:<untitled> #1'): 'text/x-diff'}
51 52
 debug.breakpoints = {loc('gstreamer/player-minimal.py'): {12: (0,
52 53
         None,
53 54
         1,
@@ -80,14 +81,22 @@ debug.breakpoints = {loc('gstreamer/player-minimal.py'): {12: (0,
80 81
         None,
81 82
         1,
82 83
         0)},
83
-                     loc('resolver.py'): {130: (0,
84
+                     loc('resolver.py'): {142L: (0,
85
+        None,
86
+        1,
87
+        0)},
88
+                     loc('resolvers/hqqresolver.py'): {116L: (0,
84 89
         None,
85 90
         1,
86 91
         0),
87
-        138: (0,
88
-              None,
89
-              1,
90
-              0)},
92
+        154L: (0,
93
+               None,
94
+               1,
95
+               0),
96
+        174L: (0,
97
+               None,
98
+               1,
99
+               0)},
91 100
                      loc('resolvers/openload2.py'): {127: (0,
92 101
         None,
93 102
         1,
@@ -116,7 +125,7 @@ debug.breakpoints = {loc('gstreamer/player-minimal.py'): {12: (0,
116 125
               None,
117 126
               1,
118 127
               0)},
119
-                     loc('sources/filmix.py'): {87L: (0,
128
+                     loc('sources/filmix.py'): {76L: (0,
120 129
         None,
121 130
         1,
122 131
         0),
@@ -335,14 +344,6 @@ debug.breakpoints = {loc('gstreamer/player-minimal.py'): {12: (0,
335 344
                      loc('test_m3u8.py'): {5: (0,
336 345
         None,
337 346
         1,
338
-        0)},
339
-                     loc('util.py'): {51: (0,
340
-        None,
341
-        1,
342
-        0),
343
-                                      85: (0,
344
-        None,
345
-        1,
346 347
         0)},
347 348
                      loc('viaplay/vialib.py'): {84: (0,
348 349
         None,
@@ -5063,7 +5064,7 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5063 5064
                  'current_pages': [0,
5064 5065
                                    0],
5065 5066
                  'full-screen': False,
5066
-                 'notebook_display': 'tabs only',
5067
+                 'notebook_display': 'normal',
5067 5068
                  'notebook_percent': 0.23133716160787532,
5068 5069
                  'override_title': None,
5069 5070
                  'pagelist': [('project',
@@ -5071,10 +5072,12 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5071 5072
                                0,
5072 5073
                                {'tree-state': {'file-sort-method': 'by name',
5073 5074
         'list-files-first': False,
5074
-        'tree-states': {'deep': {'expanded-nodes': [(73,),
5075
-        (107,)],
5076
-                                 'selected-nodes': [(68,)],
5077
-                                 'top-node': (62,)}},
5075
+        'tree-states': {'deep': {'expanded-nodes': [(17,),
5076
+        (75,),
5077
+        (109,)],
5078
+                                 'selected-nodes': [(17,
5079
+        4)],
5080
+                                 'top-node': (10,)}},
5078 5081
         'tree-style': 'deep'}}),
5079 5082
                               ('snippets',
5080 5083
                                'tall',
@@ -5110,10 +5113,10 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5110 5113
                                {'tree-state': []})],
5111 5114
                  'primary_view_state': {'area': 'wide',
5112 5115
         'constraint': None,
5113
-        'current_pages': [3,
5116
+        'current_pages': [1,
5114 5117
                           0],
5115 5118
         'notebook_display': 'normal',
5116
-        'notebook_percent': 0.40625,
5119
+        'notebook_percent': 0.28616352201257866,
5117 5120
         'override_title': None,
5118 5121
         'pagelist': [('batch-search',
5119 5122
                       'wide',
@@ -5159,9 +5162,9 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5159 5162
                                        'fMatchCase': False,
5160 5163
                                        'fOmitBinary': True,
5161 5164
                                        'fRegexFlags': 46,
5162
-                                       'fReplaceText': u'self.',
5163
-                                       'fReverse': False,
5164
-                                       'fSearchText': u'exit',
5165
+                                       'fReplaceText': u'https://filmix\\.me',
5166
+                                       'fReverse': True,
5167
+                                       'fSearchText': u'http://filmix\\.net',
5165 5168
                                        'fStartPos': 0,
5166 5169
                                        'fStyle': 'text',
5167 5170
                                        'fWholeWords': False,
@@ -5174,7 +5177,7 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5174 5177
                                       'fReplaceOnDisk': False,
5175 5178
                                       'fShowFirstMatch': False,
5176 5179
                                       'fShowLineno': True,
5177
-                                      'fShowReplaceWidgets': False}}),
5180
+                                      'fShowReplaceWidgets': True}}),
5178 5181
                      ('debug-data',
5179 5182
                       'wide',
5180 5183
                       0,
@@ -5216,16 +5219,16 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5216 5219
         -1,
5217 5220
         -1),
5218 5221
                        'attrib-starts': [],
5219
-                       'first-line': 0L,
5222
+                       'first-line': 66L,
5220 5223
                        'folded-linenos': [],
5221
-                       'history': {u'file:C:/Data/Programming/enigma2/PlayStream2/ContentSources.py': ['p'\
5222
-        'rint data\n',
5223
-        'print url\n']},
5224
+                       'history': {u'file:C:/Data/Programming/enigma2/PlayStream2/ContentSources.py': ['u'\
5225
+        'rl\n',
5226
+        'print r2\n']},
5224 5227
                        'launch-id': None,
5225
-                       'sel-line': 3L,
5226
-                       'sel-line-start': 97L,
5227
-                       'selection_end': 207L,
5228
-                       'selection_start': 97L}),
5228
+                       'sel-line': 0L,
5229
+                       'sel-line-start': 0L,
5230
+                       'selection_end': 7233L,
5231
+                       'selection_start': 0L}),
5229 5232
                      ('debug-watch',
5230 5233
                       'wide',
5231 5234
                       1,
@@ -5279,184 +5282,138 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5279 5282
                       {})],
5280 5283
         'primary_view_state': {'editor_states': ('vertical',
5281 5284
         1.0,
5282
-        ({'bookmarks': ([[loc('ContentSources.py'),
5283
-                          {'attrib-starts': [('ContentSources',
5284
-        15),
5285
-        ('ContentSources.get_streams',
5286
-         74)],
5287
-                           'first-line': 0L,
5285
+        ({'bookmarks': ([[loc('sources/filmix.py'),
5286
+                          {'attrib-starts': [('Source',
5287
+        24),
5288
+        ('Source.get_content',
5289
+         49)],
5290
+                           'first-line': 155L,
5288 5291
                            'folded-linenos': [],
5289
-                           'sel-line': 96L,
5290
-                           'sel-line-start': 3910L,
5291
-                           'selection_end': 3925L,
5292
-                           'selection_start': 3925L},
5293
-                          1483389395.672],
5292
+                           'sel-line': 178L,
5293
+                           'sel-line-start': 7928L,
5294
+                           'selection_end': 7967L,
5295
+                           'selection_start': 7967L},
5296
+                          1484248060.445],
5294 5297
                          [loc('sources/filmix.py'),
5295 5298
                           {'attrib-starts': [('Source',
5296 5299
         24),
5297 5300
         ('Source.get_content',
5298 5301
          49)],
5299
-                           'first-line': 103L,
5302
+                           'first-line': 155L,
5300 5303
                            'folded-linenos': [],
5301
-                           'sel-line': 119L,
5302
-                           'sel-line-start': 4774L,
5303
-                           'selection_end': 4774L,
5304
-                           'selection_start': 4774L},
5305
-                          1483389454.103],
5306
-                         [loc('util.py'),
5307
-                          {'attrib-starts': [('play_video',
5308
-        49)],
5309
-                           'first-line': 67L,
5310
-                           'folded-linenos': [],
5311
-                           'sel-line': 84L,
5312
-                           'sel-line-start': 2507L,
5313
-                           'selection_end': 2507L,
5314
-                           'selection_start': 2507L},
5315
-                          1483390961.973],
5316
-                         [loc('PlayStream.py'),
5317
-                          {'attrib-starts': [('make_service',
5318
-        54)],
5319
-                           'first-line': 2L,
5320
-                           'folded-linenos': [],
5321
-                           'sel-line': 69L,
5322
-                           'sel-line-start': 2647L,
5323
-                           'selection_end': 2658L,
5324
-                           'selection_start': 2651L},
5325
-                          1483390966.456],
5326
-                         [loc('PlayStream.py'),
5327
-                          {'attrib-starts': [('make_service',
5328
-        54)],
5329
-                           'first-line': 58L,
5330
-                           'folded-linenos': [],
5331
-                           'sel-line': 69L,
5332
-                           'sel-line-start': 2647L,
5333
-                           'selection_end': 2669L,
5334
-                           'selection_start': 2662L},
5335
-                          1483390968.266],
5336
-                         [loc('PlayStream.py'),
5337
-                          {'attrib-starts': [('MainScreen',
5338
-        324)],
5339
-                           'first-line': 327L,
5340
-                           'folded-linenos': [],
5341
-                           'sel-line': 343L,
5342
-                           'sel-line-start': 13445L,
5343
-                           'selection_end': 13467L,
5344
-                           'selection_start': 13464L},
5345
-                          1483390972.427],
5346
-                         [loc('PlayStream.py'),
5347
-                          {'attrib-starts': [('MainScreen',
5348
-        324)],
5349
-                           'first-line': 327L,
5304
+                           'sel-line': 178L,
5305
+                           'sel-line-start': 7928L,
5306
+                           'selection_end': 7967L,
5307
+                           'selection_start': 7958L},
5308
+                          1484248073.924],
5309
+                         [loc('ContentSources.py'),
5310
+                          {'attrib-starts': [],
5311
+                           'first-line': 133L,
5350 5312
                            'folded-linenos': [],
5351
-                           'sel-line': 343L,
5352
-                           'sel-line-start': 13445L,
5353
-                           'selection_end': 13553L,
5354
-                           'selection_start': 13550L},
5355
-                          1483390973.298],
5356
-                         [loc('PlayStream.py'),
5357
-                          {'attrib-starts': [('MainScreen',
5358
-        324)],
5359
-                           'first-line': 333L,
5313
+                           'sel-line': 150L,
5314
+                           'sel-line-start': 5363L,
5315
+                           'selection_end': 5363L,
5316
+                           'selection_start': 5363L},
5317
+                          1484248108.225],
5318
+                         [loc('sources/filmix.py'),
5319
+                          {'attrib-starts': [('Source',
5320
+        24),
5321
+        ('Source.is_video',
5322
+         209)],
5323
+                           'first-line': 221L,
5360 5324
                            'folded-linenos': [],
5361
-                           'sel-line': 344L,
5362
-                           'sel-line-start': 13593L,
5363
-                           'selection_end': 13618L,
5364
-                           'selection_start': 13615L},
5365
-                          1483390973.854],
5366
-                         [loc('PlayStream.py'),
5367
-                          {'attrib-starts': [('MainScreen',
5368
-        324),
5369
-        ('MainScreen.__init__',
5370
-         356)],
5371
-                           'first-line': 363L,
5325
+                           'sel-line': 227L,
5326
+                           'sel-line-start': 10479L,
5327
+                           'selection_end': 10507L,
5328
+                           'selection_start': 10507L},
5329
+                          1484248439.154],
5330
+                         [loc('sources/filmix.py'),
5331
+                          {'attrib-starts': [('Source',
5332
+        24),
5333
+        ('Source.__init__',
5334
+         26)],
5335
+                           'first-line': 38L,
5372 5336
                            'folded-linenos': [],
5373
-                           'sel-line': 376L,
5374
-                           'sel-line-start': 16306L,
5375
-                           'selection_end': 16351L,
5376
-                           'selection_start': 16347L},
5377
-                          1483391637.716],
5378
-                         [loc('PlayStream.py'),
5379
-                          {'attrib-starts': [('MainScreen',
5380
-        324),
5381
-        ('MainScreen.__init__',
5382
-         356)],
5383
-                           'first-line': 356L,
5337
+                           'sel-line': 43L,
5338
+                           'sel-line-start': 1424L,
5339
+                           'selection_end': 1462L,
5340
+                           'selection_start': 1462L},
5341
+                          1484248453.936],
5342
+                         [loc('sources/filmix.py'),
5343
+                          {'attrib-starts': [('Source',
5344
+        24),
5345
+        ('Source.__init__',
5346
+         26)],
5347
+                           'first-line': 38L,
5384 5348
                            'folded-linenos': [],
5385
-                           'sel-line': 361L,
5386
-                           'sel-line-start': 15492L,
5387
-                           'selection_end': 15532L,
5388
-                           'selection_start': 15528L},
5389
-                          1483391639.28],
5390
-                         [loc('PlayStream.py'),
5391
-                          {'attrib-starts': [('MainScreen',
5392
-        324),
5393
-        ('MainScreen.__init__',
5394
-         356)],
5395
-                           'first-line': 356L,
5349
+                           'sel-line': 43L,
5350
+                           'sel-line-start': 1424L,
5351
+                           'selection_end': 1462L,
5352
+                           'selection_start': 1444L},
5353
+                          1484248467.841],
5354
+                         [loc('ContentSources.py'),
5355
+                          {'attrib-starts': [],
5356
+                           'first-line': 133L,
5396 5357
                            'folded-linenos': [],
5397
-                           'sel-line': 362L,
5398
-                           'sel-line-start': 15536L,
5399
-                           'selection_end': 15546L,
5400
-                           'selection_start': 15545L},
5401
-                          1483391639.829],
5402
-                         [loc('PlayStream.py'),
5403
-                          {'attrib-starts': [('MainScreen',
5404
-        324),
5405
-        ('MainScreen.__init__',
5406
-         356)],
5407
-                           'first-line': 356L,
5358
+                           'sel-line': 150L,
5359
+                           'sel-line-start': 5363L,
5360
+                           'selection_end': 5363L,
5361
+                           'selection_start': 5363L},
5362
+                          1484248485.4],
5363
+                         [loc('sources/filmix.py'),
5364
+                          {'attrib-starts': [('Source',
5365
+        24),
5366
+        ('Source.get_content',
5367
+         49)],
5368
+                           'first-line': 71L,
5408 5369
                            'folded-linenos': [],
5409
-                           'sel-line': 365L,
5410
-                           'sel-line-start': 15676L,
5411
-                           'selection_end': 15696L,
5412
-                           'selection_start': 15694L},
5413
-                          1483391640.578],
5414
-                         [loc('PlayStream.py'),
5415
-                          {'attrib-starts': [('MainScreen',
5416
-        324),
5417
-        ('MainScreen.__init__',
5418
-         356)],
5419
-                           'first-line': 356L,
5370
+                           'sel-line': 88L,
5371
+                           'sel-line-start': 3145L,
5372
+                           'selection_end': 3231L,
5373
+                           'selection_start': 3231L},
5374
+                          1484249233.563],
5375
+                         [loc('ContentSources.py'),
5376
+                          {'attrib-starts': [],
5377
+                           'first-line': 133L,
5420 5378
                            'folded-linenos': [],
5421
-                           'sel-line': 365L,
5422
-                           'sel-line-start': 15676L,
5423
-                           'selection_end': 15697L,
5424
-                           'selection_start': 15694L},
5425
-                          1483391641.094],
5426
-                         [loc('PlayStream.py'),
5427
-                          {'attrib-starts': [('MainScreen',
5428
-        324)],
5429
-                           'first-line': 335L,
5379
+                           'sel-line': 150L,
5380
+                           'sel-line-start': 5363L,
5381
+                           'selection_end': 5363L,
5382
+                           'selection_start': 5363L},
5383
+                          1484249244.547],
5384
+                         [loc('sources/filmix.py'),
5385
+                          {'attrib-starts': [('Source',
5386
+        24),
5387
+        ('Source.get_content',
5388
+         49)],
5389
+                           'first-line': 73L,
5430 5390
                            'folded-linenos': [],
5431
-                           'sel-line': 352L,
5432
-                           'sel-line-start': 15077L,
5433
-                           'selection_end': 15122L,
5434
-                           'selection_start': 15122L},
5435
-                          1483397133.215],
5391
+                           'sel-line': 88L,
5392
+                           'sel-line-start': 3145L,
5393
+                           'selection_end': 3236L,
5394
+                           'selection_start': 3236L},
5395
+                          1484249457.454],
5436 5396
                          [loc('ContentSources.py'),
5437
-                          {'attrib-starts': [('ContentSources',
5438
-        15),
5439
-        ('ContentSources.get_streams',
5440
-         74)],
5441
-                           'first-line': 0L,
5397
+                          {'attrib-starts': [],
5398
+                           'first-line': 133L,
5442 5399
                            'folded-linenos': [],
5443
-                           'sel-line': 96L,
5444
-                           'sel-line-start': 3910L,
5445
-                           'selection_end': 3925L,
5446
-                           'selection_start': 3925L},
5447
-                          1483397166.213],
5400
+                           'sel-line': 150L,
5401
+                           'sel-line-start': 5363L,
5402
+                           'selection_end': 5363L,
5403
+                           'selection_start': 5363L},
5404
+                          1484249463.722],
5448 5405
                          [loc('sources/filmix.py'),
5449 5406
                           {'attrib-starts': [('Source',
5450 5407
         24),
5451 5408
         ('Source.get_content',
5452 5409
          49)],
5453
-                           'first-line': 88L,
5410
+                           'first-line': 68L,
5454 5411
                            'folded-linenos': [],
5455
-                           'sel-line': 113L,
5456
-                           'sel-line-start': 4479L,
5457
-                           'selection_end': 4479L,
5458
-                           'selection_start': 4479L},
5459
-                          1483468572.85],
5412
+                           'sel-line': 90L,
5413
+                           'sel-line-start': 3283L,
5414
+                           'selection_end': 3300L,
5415
+                           'selection_start': 3300L},
5416
+                          1484249545.935],
5460 5417
                          [loc('ContentSources.py'),
5461 5418
                           {'attrib-starts': [],
5462 5419
                            'first-line': 133L,
@@ -5465,16 +5422,19 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5465 5422
                            'sel-line-start': 5363L,
5466 5423
                            'selection_end': 5363L,
5467 5424
                            'selection_start': 5363L},
5468
-                          1483469182.966],
5469
-                         [loc('sources/ltc.py'),
5470
-                          {'attrib-starts': [],
5471
-                           'first-line': 11L,
5425
+                          1484249603.049],
5426
+                         [loc('sources/filmix.py'),
5427
+                          {'attrib-starts': [('Source',
5428
+        24),
5429
+        ('Source.get_content',
5430
+         49)],
5431
+                           'first-line': 61L,
5472 5432
                            'folded-linenos': [],
5473
-                           'sel-line': 16L,
5474
-                           'sel-line-start': 552L,
5475
-                           'selection_end': 552L,
5476
-                           'selection_start': 552L},
5477
-                          1483469582.584],
5433
+                           'sel-line': 90L,
5434
+                           'sel-line-start': 3283L,
5435
+                           'selection_end': 3299L,
5436
+                           'selection_start': 3299L},
5437
+                          1484249678.569],
5478 5438
                          [loc('ContentSources.py'),
5479 5439
                           {'attrib-starts': [],
5480 5440
                            'first-line': 133L,
@@ -5483,19 +5443,67 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5483 5443
                            'sel-line-start': 5363L,
5484 5444
                            'selection_end': 5363L,
5485 5445
                            'selection_start': 5363L},
5486
-                          1483470729.597],
5487
-                         [loc('sources/ltc.py'),
5446
+                          1484249694.129],
5447
+                         [loc('sources/filmix.py'),
5488 5448
                           {'attrib-starts': [('Source',
5489 5449
         24),
5490 5450
         ('Source.get_content',
5491
-         71)],
5492
-                           'first-line': 67L,
5451
+         49)],
5452
+                           'first-line': 155L,
5493 5453
                            'folded-linenos': [],
5494
-                           'sel-line': 72L,
5495
-                           'sel-line-start': 2705L,
5496
-                           'selection_end': 2705L,
5497
-                           'selection_start': 2705L},
5498
-                          1483470974.796]],
5454
+                           'sel-line': 168L,
5455
+                           'sel-line-start': 7272L,
5456
+                           'selection_end': 7331L,
5457
+                           'selection_start': 7313L},
5458
+                          1484249804.062],
5459
+                         [loc('sources/filmix.py'),
5460
+                          {'attrib-starts': [('Source',
5461
+        24),
5462
+        ('Source.get_content',
5463
+         49)],
5464
+                           'first-line': 173L,
5465
+                           'folded-linenos': [],
5466
+                           'sel-line': 195L,
5467
+                           'sel-line-start': 9005L,
5468
+                           'selection_end': 9061L,
5469
+                           'selection_start': 9043L},
5470
+                          1484249827.338],
5471
+                         [loc('sources/filmix.py'),
5472
+                          {'attrib-starts': [('Source',
5473
+        24),
5474
+        ('Source.get_content',
5475
+         49)],
5476
+                           'first-line': 163L,
5477
+                           'folded-linenos': [],
5478
+                           'sel-line': 168L,
5479
+                           'sel-line-start': 7272L,
5480
+                           'selection_end': 7331L,
5481
+                           'selection_start': 7313L},
5482
+                          1484249831.281],
5483
+                         [loc('sources/filmix.py'),
5484
+                          {'attrib-starts': [('Source',
5485
+        24),
5486
+        ('Source.get_content',
5487
+         49)],
5488
+                           'first-line': 173L,
5489
+                           'folded-linenos': [],
5490
+                           'sel-line': 195L,
5491
+                           'sel-line-start': 9005L,
5492
+                           'selection_end': 9061L,
5493
+                           'selection_start': 9061L},
5494
+                          1484249835.116],
5495
+                         [loc('sources/filmix.py'),
5496
+                          {'attrib-starts': [('Source',
5497
+        24),
5498
+        ('Source.get_content',
5499
+         49)],
5500
+                           'first-line': 173L,
5501
+                           'folded-linenos': [],
5502
+                           'sel-line': 195L,
5503
+                           'sel-line-start': 9005L,
5504
+                           'selection_end': 9061L,
5505
+                           'selection_start': 9043L},
5506
+                          1484249845.15]],
5499 5507
                         20),
5500 5508
           'current-loc': loc('ContentSources.py'),
5501 5509
           'editor-state-list': [(loc('plugin.py'),
@@ -5508,23 +5516,25 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5508 5516
                                   'selection_end': 208,
5509 5517
                                   'selection_start': 199}),
5510 5518
                                 (loc('PlayStream.py'),
5511
-                                 {'attrib-starts': [('MainScreen',
5512
-        324)],
5513
-                                  'first-line': 335L,
5519
+                                 {'attrib-starts': [('PSPlayer',
5520
+        91),
5521
+        ('PSPlayer.get_subs_current',
5522
+         171)],
5523
+                                  'first-line': 169L,
5514 5524
                                   'folded-linenos': [],
5515
-                                  'sel-line': 352L,
5516
-                                  'sel-line-start': 15077L,
5517
-                                  'selection_end': 15122L,
5518
-                                  'selection_start': 15122L}),
5525
+                                  'sel-line': 183L,
5526
+                                  'sel-line-start': 7324L,
5527
+                                  'selection_end': 7366L,
5528
+                                  'selection_start': 7358L}),
5519 5529
                                 (loc('util.py'),
5520
-                                 {'attrib-starts': [('play_video',
5521
-        49)],
5522
-                                  'first-line': 67L,
5530
+                                 {'attrib-starts': [('request',
5531
+        285)],
5532
+                                  'first-line': 271L,
5523 5533
                                   'folded-linenos': [],
5524
-                                  'sel-line': 84L,
5525
-                                  'sel-line-start': 2507L,
5526
-                                  'selection_end': 2507L,
5527
-                                  'selection_start': 2507L}),
5534
+                                  'sel-line': 295L,
5535
+                                  'sel-line-start': 9782L,
5536
+                                  'selection_end': 9809L,
5537
+                                  'selection_start': 9809L}),
5528 5538
                                 (loc('ContentSources.py'),
5529 5539
                                  {'attrib-starts': [],
5530 5540
                                   'first-line': 133L,
@@ -5536,25 +5546,25 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5536 5546
                                 (loc('sources/kinofilmnet.py'),
5537 5547
                                  {'attrib-starts': [('Source',
5538 5548
         23),
5539
-        ('Source.get_streams',
5540
-         149)],
5541
-                                  'first-line': 154,
5549
+        ('Source.__init__',
5550
+         25)],
5551
+                                  'first-line': 21L,
5542 5552
                                   'folded-linenos': [],
5543
-                                  'sel-line': 166,
5544
-                                  'sel-line-start': 7521,
5545
-                                  'selection_end': 7521,
5546
-                                  'selection_start': 7521}),
5553
+                                  'sel-line': 31L,
5554
+                                  'sel-line-start': 971L,
5555
+                                  'selection_end': 1211L,
5556
+                                  'selection_start': 971L}),
5547 5557
                                 (loc('sources/ltc.py'),
5548 5558
                                  {'attrib-starts': [('Source',
5549 5559
         24),
5550 5560
         ('Source.get_content',
5551 5561
          71)],
5552
-                                  'first-line': 67L,
5562
+                                  'first-line': 298L,
5553 5563
                                   'folded-linenos': [],
5554
-                                  'sel-line': 72L,
5555
-                                  'sel-line-start': 2705L,
5556
-                                  'selection_end': 2705L,
5557
-                                  'selection_start': 2705L}),
5564
+                                  'sel-line': 307L,
5565
+                                  'sel-line-start': 17118L,
5566
+                                  'selection_end': 17261L,
5567
+                                  'selection_start': 17242L}),
5558 5568
                                 (loc('resolvers/hdgo.py'),
5559 5569
                                  {'attrib-starts': [('supports',
5560 5570
         37)],
@@ -5569,34 +5579,71 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5569 5579
         24),
5570 5580
         ('Source.get_content',
5571 5581
          49)],
5572
-                                  'first-line': 88L,
5582
+                                  'first-line': 173L,
5573 5583
                                   'folded-linenos': [],
5574
-                                  'sel-line': 113L,
5575
-                                  'sel-line-start': 4479L,
5576
-                                  'selection_end': 4479L,
5577
-                                  'selection_start': 4479L}),
5584
+                                  'sel-line': 195L,
5585
+                                  'sel-line-start': 9005L,
5586
+                                  'selection_end': 9061L,
5587
+                                  'selection_start': 9043L}),
5578 5588
                                 (loc('sources/replay.py'),
5579 5589
                                  {'attrib-starts': [('Source',
5580 5590
         25),
5581 5591
         ('Source.get_content',
5582 5592
          36)],
5583
-                                  'first-line': 233,
5593
+                                  'first-line': 233L,
5584 5594
                                   'folded-linenos': [],
5585
-                                  'sel-line': 245,
5586
-                                  'sel-line-start': 13416,
5587
-                                  'selection_end': 13416,
5588
-                                  'selection_start': 13416}),
5595
+                                  'sel-line': 245L,
5596
+                                  'sel-line-start': 13416L,
5597
+                                  'selection_end': 13416L,
5598
+                                  'selection_start': 13416L}),
5589 5599
                                 (loc('sources/ustvnow.py'),
5590 5600
                                  {'attrib-starts': [('Source',
5591 5601
         28),
5592 5602
         ('Source.login',
5593 5603
          44)],
5594
-                                  'first-line': 48,
5604
+                                  'first-line': 48L,
5605
+                                  'folded-linenos': [],
5606
+                                  'sel-line': 59L,
5607
+                                  'sel-line-start': 2351L,
5608
+                                  'selection_end': 2351L,
5609
+                                  'selection_start': 2351L}),
5610
+                                (loc('resolver.py'),
5611
+                                 {'attrib-starts': [],
5612
+                                  'first-line': 108L,
5613
+                                  'folded-linenos': [],
5614
+                                  'sel-line': 141L,
5615
+                                  'sel-line-start': 5472L,
5616
+                                  'selection_end': 5472L,
5617
+                                  'selection_start': 5472L}),
5618
+                                (loc('resolvers/hqqresolver.py'),
5619
+                                 {'attrib-starts': [('resolve',
5620
+        113)],
5621
+                                  'first-line': 147L,
5622
+                                  'folded-linenos': [],
5623
+                                  'sel-line': 169L,
5624
+                                  'sel-line-start': 6737L,
5625
+                                  'selection_end': 6796L,
5626
+                                  'selection_start': 6792L}),
5627
+                                (loc('resolvers/kodik.py'),
5628
+                                 {'attrib-starts': [('supports',
5629
+        49)],
5630
+                                  'first-line': 55L,
5595 5631
                                   'folded-linenos': [],
5596
-                                  'sel-line': 59,
5597
-                                  'sel-line-start': 2351,
5598
-                                  'selection_end': 2351,
5599
-                                  'selection_start': 2351})],
5632
+                                  'sel-line': 49L,
5633
+                                  'sel-line-start': 1519L,
5634
+                                  'selection_end': 1519L,
5635
+                                  'selection_start': 1519L}),
5636
+                                (loc('sources/iplayer.py'),
5637
+                                 {'attrib-starts': [('Source',
5638
+        23),
5639
+        ('Source.get_streams',
5640
+         228)],
5641
+                                  'first-line': 247L,
5642
+                                  'folded-linenos': [],
5643
+                                  'sel-line': 261L,
5644
+                                  'sel-line-start': 13399L,
5645
+                                  'selection_end': 13428L,
5646
+                                  'selection_start': 13424L})],
5600 5647
           'has-focus': True,
5601 5648
           'locked': False},
5602 5649
          [loc('plugin.py'),
@@ -5608,7 +5655,11 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5608 5655
           loc('resolvers/hdgo.py'),
5609 5656
           loc('sources/filmix.py'),
5610 5657
           loc('sources/replay.py'),
5611
-          loc('sources/ustvnow.py')]),
5658
+          loc('sources/ustvnow.py'),
5659
+          loc('resolver.py'),
5660
+          loc('resolvers/hqqresolver.py'),
5661
+          loc('resolvers/kodik.py'),
5662
+          loc('sources/iplayer.py')]),
5612 5663
         ({'bookmarks': ([[loc('sources/viaplay.py'),
5613 5664
                           {'attrib-starts': [('Source',
5614 5665
         19),
@@ -5865,6 +5916,26 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5865 5916
                                   'sel-line-start': 2695,
5866 5917
                                   'selection_end': 2768,
5867 5918
                                   'selection_start': 2768}),
5919
+                                (loc('resolvers/hqqresolver.py'),
5920
+                                 {'attrib-starts': [('resolve',
5921
+        113)],
5922
+                                  'first-line': 144,
5923
+                                  'folded-linenos': [],
5924
+                                  'sel-line': 155,
5925
+                                  'sel-line-start': 5872,
5926
+                                  'selection_end': 5872,
5927
+                                  'selection_start': 5872}),
5928
+                                (loc('sources/iplayer.py'),
5929
+                                 {'attrib-starts': [('Source',
5930
+        23),
5931
+        ('Source.get_streams',
5932
+         228)],
5933
+                                  'first-line': 245L,
5934
+                                  'folded-linenos': [],
5935
+                                  'sel-line': 260L,
5936
+                                  'sel-line-start': 13310L,
5937
+                                  'selection_end': 13396L,
5938
+                                  'selection_start': 13396L}),
5868 5939
                                 (loc('sources/kinofilmnet.py'),
5869 5940
                                  {'attrib-starts': [('Source',
5870 5941
         23),
@@ -5887,6 +5958,14 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5887 5958
                                   'sel-line-start': 31798,
5888 5959
                                   'selection_end': 31915,
5889 5960
                                   'selection_start': 31798}),
5961
+                                (loc('resolvers/kodik.py'),
5962
+                                 {'attrib-starts': [],
5963
+                                  'first-line': 57,
5964
+                                  'folded-linenos': [],
5965
+                                  'sel-line': 0,
5966
+                                  'sel-line-start': 0,
5967
+                                  'selection_end': 0,
5968
+                                  'selection_start': 0}),
5890 5969
                                 (loc('PlayStream.py'),
5891 5970
                                  {'attrib-starts': [],
5892 5971
                                   'first-line': 0L,
@@ -5903,6 +5982,15 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5903 5982
                                   'sel-line-start': 108,
5904 5983
                                   'selection_end': 118,
5905 5984
                                   'selection_start': 112}),
5985
+                                (loc('resolver.py'),
5986
+                                 {'attrib-starts': [('resolve',
5987
+        58)],
5988
+                                  'first-line': 62,
5989
+                                  'folded-linenos': [],
5990
+                                  'sel-line': 68,
5991
+                                  'sel-line-start': 2523,
5992
+                                  'selection_end': 2535,
5993
+                                  'selection_start': 2527}),
5906 5994
                                 (loc('sources/ustvnow.py'),
5907 5995
                                  {'attrib-starts': [('Source',
5908 5996
         28),
@@ -5939,22 +6027,30 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5939 6027
          [loc('ContentSources.py'),
5940 6028
           loc('sources/filmix.py'),
5941 6029
           loc('resolvers/hdgo.py'),
6030
+          loc('resolvers/hqqresolver.py'),
6031
+          loc('sources/iplayer.py'),
5942 6032
           loc('sources/kinofilmnet.py'),
5943 6033
           loc('sources/ltc.py'),
6034
+          loc('resolvers/kodik.py'),
5944 6035
           loc('PlayStream.py'),
5945 6036
           loc('plugin.py'),
6037
+          loc('resolver.py'),
5946 6038
           loc('sources/ustvnow.py'),
5947 6039
           loc('util.py'),
5948 6040
           loc('sources/replay.py')])),
5949 6041
                                'open_files': [u'PlayStream.py',
5950 6042
         u'plugin.py',
6043
+        u'resolver.py',
5951 6044
         u'resolvers/hdgo.py',
6045
+        u'resolvers/hqqresolver.py',
6046
+        u'sources/iplayer.py',
5952 6047
         u'sources/kinofilmnet.py',
6048
+        u'sources/ltc.py',
5953 6049
         u'sources/replay.py',
5954 6050
         u'sources/ustvnow.py',
5955 6051
         u'util.py',
6052
+        u'resolvers/kodik.py',
5956 6053
         u'sources/filmix.py',
5957
-        u'sources/ltc.py',
5958 6054
         u'ContentSources.py']},
5959 6055
         'saved_notebook_display': None,
5960 6056
         'split_percents': {0: 0.33756345177664976},
@@ -5971,13 +6067,17 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5971 6067
                          2405,
5972 6068
                          1376)}]}
5973 6069
 guimgr.recent-documents = [loc('ContentSources.py'),
5974
-                           loc('sources/ltc.py'),
6070
+                           loc('sources/filmix.py'),
5975 6071
                            loc('PlayStream.py'),
5976 6072
                            loc('util.py'),
5977
-                           loc('sources/filmix.py'),
5978
-                           loc('sources/ustvnow.py'),
6073
+                           loc('resolvers/kodik.py'),
6074
+                           loc('resolver.py'),
6075
+                           loc('resolvers/hqqresolver.py'),
6076
+                           loc('sources/iplayer.py'),
5979 6077
                            loc('sources/kinofilmnet.py'),
6078
+                           loc('sources/ustvnow.py'),
5980 6079
                            loc('sources/replay.py'),
6080
+                           loc('sources/ltc.py'),
5981 6081
                            loc('resolvers/hdgo.py'),
5982 6082
                            loc('plugin.py')]
5983 6083
 guimgr.visual-state = {loc('../../Kodi/test2/plugin.video.aaa/addon.py'): {'a'\
@@ -6687,6 +6787,15 @@ guimgr.visual-state = {loc('../../Kodi/test2/plugin.video.aaa/addon.py'): {'a'\
6687 6787
         'sel-line-start': 0L,
6688 6788
         'selection_end': 0L,
6689 6789
         'selection_start': 0L},
6790
+                       loc('../../../../Python27/Lib/re.py'): {'attrib-start'\
6791
+        's': [('findall',
6792
+               172)],
6793
+        'first-line': 162,
6794
+        'folded-linenos': [],
6795
+        'sel-line': 180,
6796
+        'sel-line-start': 8708,
6797
+        'selection_end': 8708,
6798
+        'selection_start': 8708},
6690 6799
                        loc('../../../../Python27/lib/BaseHTTPServer.py'): {'a'\
6691 6800
         'ttrib-starts': [('BaseHTTPRequestHandler',
6692 6801
                           113),
@@ -6707,15 +6816,6 @@ guimgr.visual-state = {loc('../../Kodi/test2/plugin.video.aaa/addon.py'): {'a'\
6707 6816
         'sel-line-start': 2478,
6708 6817
         'selection_end': 2478,
6709 6818
         'selection_start': 2478},
6710
-                       loc('../../../../Python27/lib/re.py'): {'attrib-start'\
6711
-        's': [('findall',
6712
-               172)],
6713
-        'first-line': 162,
6714
-        'folded-linenos': [],
6715
-        'sel-line': 180,
6716
-        'sel-line-start': 8708,
6717
-        'selection_end': 8708,
6718
-        'selection_start': 8708},
6719 6819
                        loc('../../../../Python27/lib/site-packages/gi/__init__.py'): {'a'\
6720 6820
         'ttrib-starts': [],
6721 6821
         'first-line': 24,
@@ -6778,9 +6878,20 @@ proj.pyexec = {None: ('custom',
6778 6878
 proj.pypath = {None: ('custom',
6779 6879
                       [u'c:\\Data\\Programming\\enigma2\\python',
6780 6880
                        u''])}
6781
-search.replace-history = [u'self',
6881
+search.replace-history = [u'https://filmix\\.me',
6882
+                          u'https://filmix.me/',
6883
+                          u'filmix.me',
6884
+                          u'self',
6782 6885
                           u'current']
6783
-search.search-history = [u'red',
6886
+search.search-history = [u'http://filmix\\.net',
6887
+                         u'http://filmix.me/',
6888
+                         u'filmix.net',
6889
+                         u'sort',
6890
+                         u'urllib2',
6891
+                         u'subs',
6892
+                         u'cur_subs',
6893
+                         u'pssub',
6894
+                         u'red',
6784 6895
                          u'eServiceReference',
6785 6896
                          u'service',
6786 6897
                          u'gst',
@@ -6791,15 +6902,8 @@ search.search-history = [u'red',
6791 6902
                          u'title=',
6792 6903
                          u'ChoiceBox',
6793 6904
                          u'settil',
6794
-                         u'"text"',
6795
-                         u'choice',
6796
-                         u'ch',
6797
-                         u'resume_pos',
6798
-                         u'List(',
6799
-                         u'List',
6800
-                         u'ChoiceList',
6801
-                         u'choiceli',
6802
-                         u'ChoiceEntryComponent']
6905
+                         u'"text"']
6803 6906
 testing.stored-results = (1,
6804 6907
                           [],
6805 6908
                           {})
6909
+versioncontrol.git.remote-history = ['http://git.blue.lv/root/PlayStream.git']

+ 1
- 1
imake.bat Переглянути файл

@@ -2,7 +2,7 @@
2 2
 :=== Parameters ===
3 3
 
4 4
 if ()==(%1%) (
5
-    set ver=0.5l
5
+    set ver=0.5m
6 6
 	rem echo Please provide version
7 7
 	rem pause
8 8
 	rem GOTO:EOF

+ 9
- 5
resolver.py Переглянути файл

@@ -90,7 +90,7 @@ def resolve(url):
90 90
                 if "=" in h:
91 91
                     i["headers"][h.split("=")[0]] = h.split("=")[1]
92 92
 
93
-    return sorted(value, key=lambda i: i['quality'])
93
+    return sorted(value, key=lambda i: i['quality'], reverse=True)
94 94
 
95 95
 
96 96
 def _get_resolver(url):
@@ -122,10 +122,14 @@ if __name__ == "__main__":
122 122
     #url = "https://openload.co/embed/bE7WfZ/" 
123 123
     #url = "https://openload.co/embed/OuskaKyC2GU/"
124 124
     url = "http://hqq.tv/player/embed_player.php?vid=235238210241210222228241233208212245&autoplay=no"
125
-    url = "https://openload.co/embed/rmNcP-0QopE/"
126
-    url = "https://openload.co/embed/gpLF6Grzy80/"
127
-    url = "https://openload.co/embed/oQLXcU1ITAY/"
128
-    url = "http://hqq.tv/player/embed_player.php?vid=245208228234224222241224221239207212&autoplay=no"
125
+    url = "https://hqq.tv/player/embed_player.php?vid=235242211228257255206246241253244213194271217261258"
126
+    #url = "https://openload.co/embed/rmNcP-0QopE/"
127
+    #url = "https://openload.co/embed/gpLF6Grzy80/"
128
+    #url = "https://openload.co/embed/oQLXcU1ITAY/"
129
+    #url = "http://hqq.tv/player/embed_player.php?vid=245208228234224222241224221239207212&autoplay=no"
130
+    url = "https://goo.gl/yMTzqf"
131
+    url = "http://cdn.kapnob.ru/video/5e67c8b1ad018ffa/iframe"
132
+    url = "http://kodik.cc/video/10830/4269a802d1a9d9bdc53fe38488d53a52/720p"
129 133
     streams = resolve(url)
130 134
     if not streams:
131 135
         print "No streams found"

+ 24
- 5
resolvers/hqqresolver.py Переглянути файл

@@ -114,11 +114,16 @@ def _decode2(file_url):
114 114
 def resolve(url):
115 115
     m = _regex(url)
116 116
     if m:
117
-        vid = m.group('vid')
118 117
         headers = {'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
119 118
                    'Content-Type': 'text/html; charset=utf-8'}
120
-        player_url = "http://hqq.tv/player/embed_player.php?vid=%s&autoplay=no" % vid
121
-        data = util.request(player_url, headers)
119
+        if "goo.gl" in url:
120
+            data = util.request(url, headers)
121
+            player_url = re.search("var ppage = '(.+?)'",data).group(1)
122
+            player_url = urllib.unquote(player_url)
123
+        else:
124
+            vid = m.group('vid')
125
+            player_url = "http://hqq.tv/player/embed_player.php?vid=%s&autoplay=no" % vid
126
+            data = util.request(player_url, headers)
122 127
         b64enc = re.search('base64([^\"]+)', data, re.DOTALL)
123 128
         b64dec = b64enc and base64.decodestring(b64enc.group(1))
124 129
         enc = b64dec and re.search("\'([^']+)\'", b64dec).group(1)
@@ -144,6 +149,8 @@ def resolve(url):
144 149
                 vid_link = re.search(r'var\s*%s\s*=\s*"([^"]*?)"'%link_1, data)
145 150
                 at = re.search(r'var\s*at\s*=\s*"([^"]*?)"', data)
146 151
                 vid = re.search('vid: "([^"]+)"',data)
152
+                subs = re.search('sub:"(.+?)"',data).group(1) if re.search('sub:"(.+?)"',data) else ""
153
+                subs_lang = re.search('sublangs:"(.+?)"',data).group(1) if re.search('sub:"(.+?)"',data) else ""
147 154
                 if vid_server and vid_link and at:
148 155
                     get_data = {'server_1': vid_server.group(1),
149 156
                                 'link_1': vid_link.group(1),
@@ -158,11 +165,18 @@ def resolve(url):
158 165
                     if 'file' in data:
159 166
                         file_url = _decode2(data['file'])
160 167
                         file_url = re.sub(r'\?socket=?$', '.mp4.m3u8',file_url)
161
-                        return [{'url': file_url, 'quality': '360p',"headers":{"User-Agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/47.0.2526.70 Mobile/13C71 Safari/601.1.46"}}]
162
-    return None
168
+                        stream  = {
169
+                            'url': file_url, 
170
+                            'subs':[{"url":subs,'name':subs_lang,"lang":subs_lang}],
171
+                            'quality': '?',
172
+                            "headers":{"User-Agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/47.0.2526.70 Mobile/13C71 Safari/601.1.46"}
173
+                        }
174
+                        return [stream]
175
+    return []
163 176
 
164 177
 
165 178
 def _regex(url):
179
+    # https://goo.gl/yMTzqf
166 180
     match = re.search("(hqq|netu)\.tv/watch_video\.php\?v=(?P<vid>[0-9A-Z]+)", url)
167 181
     if match:
168 182
         return match
@@ -174,6 +188,11 @@ def _regex(url):
174 188
         match = re.search(r'var\s+vid\s*=\s*\'(?P<vid>[^\']+)\'', urllib.unquote(util.request(url)))
175 189
         if match:
176 190
             return match
191
+    # https://goo.gl/yMTzqf
192
+    match = re.search("(goo)\.gl/(?P<vid>[\w]+)", url)
193
+    if match:
194
+        return match
195
+    
177 196
     b64enc = re.search(r'data:text/javascript\;charset\=utf\-8\;base64([^\"]+)', url)
178 197
     b64dec = b64enc and base64.decodestring(b64enc.group(1))
179 198
     enc = b64dec and re.search(r"\'([^']+)\'", b64dec).group(1)

+ 8
- 8
sources/filmix.py Переглянути файл

@@ -26,12 +26,12 @@ class Source(SourceBase):
26 26
     
27 27
     def __init__(self,country=""):
28 28
         self.name = "filmix"
29
-        self.title = "Filmix.net"
29
+        self.title = "filmix.me"
30 30
         self.img = "http://cs5324.vk.me/g33668783/a_903fcc63.jpg"
31
-        self.desc = "Filmix.net satura skatīšanās"
31
+        self.desc = "filmix.me satura skatīšanās"
32 32
         self.country=country
33 33
         self.headers = headers2dict("""
34
-Host: filmix.net
34
+Host: filmix.me
35 35
 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
36 36
 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
37 37
 Accept-Language: en-US,en;q=0.5
@@ -41,7 +41,7 @@ User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox
41 41
 X-Requested-With: XMLHttpRequest
42 42
 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
43 43
 """)
44
-        self.url = "http://filmix.net/"
44
+        self.url = "https://filmix.me/"
45 45
         #self.login()
46 46
         
47 47
     def login(self,user="",password=""):
@@ -86,7 +86,7 @@ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
86 86
             m = re.search('<span class="menu-title">%s</span>(.+?)<li>\s+?<span'%sname, r, re.DOTALL|re.UNICODE)
87 87
             if not m: return content
88 88
             r2 = m.group(1)
89
-            result = re.findall(r'<a href="http://filmix\.net/([^"]+)".*?>([^<]+)</a>', r2, re.DOTALL)
89
+            result = re.findall(r'<a .*?href="https://filmix\.me/([^"]+)".*?>([^<]+)</', r2, re.DOTALL)
90 90
             for item in result:
91 91
                 if "catalog" in item[0]: continue
92 92
                 title = item[1]
@@ -166,7 +166,7 @@ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
166 166
             r = self.call(data)
167 167
             r = r.decode("cp1251").encode("utf8")
168 168
             for r2 in re.findall('<article class="shortstory line".+?</article>', r, re.DOTALL):
169
-                m = re.search(r'<a href="http://filmix\.net/play/(\d+)" class="watch icon-play">', r2, re.DOTALL)
169
+                m = re.search(r'<a href="https://filmix\.me/play/(\d+)" class="watch icon-play">', r2, re.DOTALL)
170 170
                 if not m: continue
171 171
                 vid = m.group(1)
172 172
                 data2 = "play/%s"%vid
@@ -176,7 +176,7 @@ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
176 176
                 if m:
177 177
                     title = title + "/"+m.group(1)
178 178
                 m = re.search('<img src="([^"]+.jpg)"', r2, re.DOTALL)
179
-                img = "http://filmix.net"+m.group(1) if m else self.img
179
+                img = "http://filmix.me"+m.group(1) if m else self.img
180 180
                 m = re.search(r'<a itemprop="copyrightYear".+?>(\d+)<', r2, re.DOTALL)
181 181
                 if m:
182 182
                     year = m.group(1) if m else ""
@@ -193,7 +193,7 @@ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
193 193
                 desc="%s\n%s\n%s\n%s\n%s"%(title,genre,desc0,actors,quality)
194 194
                 content.append((title,self.name+"::"+data2,img,desc))
195 195
             if '<div class="navigation">' in r:
196
-                m = re.search(r'href="http://filmix\.net/([^"]+)" class="next icon-arowRight btn-tooltip"', r, re.DOTALL)
196
+                m = re.search(r'href="https://filmix\.me/([^"]+)" class="next icon-arowRight btn-tooltip"', r, re.DOTALL)
197 197
                 if m:
198 198
                     data2 = m.group(1)
199 199
                 else:

+ 1
- 1
sources/kinofilmnet.py Переглянути файл

@@ -169,7 +169,7 @@ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
169 169
             url0 = result[0]
170 170
         streams =  resolver.resolve(url0)
171 171
         for s in streams:
172
-            if "hqq." in url0:
172
+            if "hqq." in url0 or "goo.gl" in url0:
173 173
                 s["url"] = util.streamproxy_encode(s["url"],s["headers"])
174 174
                 s["headers"]={}
175 175
             s["name"] = title