-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathinfo.txt
876 lines (719 loc) · 63.4 KB
/
info.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
######################################################
######################################################
######################################################
######################################################
######################################################
######################################################
######################################################
######################################################
######################################################
######################################################
# Main Menu
Ongoing
Completed
Anime List
A-Z
Genres
Sort by Alphabet
Sort by Popularity
Sort by Latest Update
Sort by Newest
=======================================================================================
=======================================================================================
=======================================================================================
* http://kissanime.com/
http://kissanime.com/Content/images/numbers/1.png
1-3 orange
http://kissanime.com/Content/images/numbers/4.png
http://kissanime.com/Content/images/numbers/10.png
4-10 blue
?page=2
page 2 = 2
page 1 = 1
shows first, prev, next, last
<ul class="pager" style="padding: 10px 11px 10px 0px">
<li><a href="/AnimeList/Newest?page=1" page="1">« First</a></li>
<li><a href="/AnimeList/Newest?page=43" page=43>‹ Prev</a></li>
<li><a href="/AnimeList/Newest?page=42" page="42">42</a></li>
<li><a href="/AnimeList/Newest?page=43" page="43">43</a></li>
<li class="current">44</li>
<li class="current">1</li>
<li><a href="/AnimeList/Newest?page=2" page="2">2</a></li>
<li><a href="/AnimeList/Newest?page=3" page="3">3</a></li>
<li><a href="/AnimeList/Newest?page=2" page=2>› Next </a></li>
<li><a href="/AnimeList/Newest?page=44" page="44">» Last </a></li>
</ul>
#background texture
http://kissanime.com/Content/images/tpl_bg.gif
#transparent png - logo banner
http://kissanime.com/Content/images/logo.png
** Latest Comments (text) [More...]
** Latest Update (text) [More...]
** Latest Update (with image)
** New Anime [More...]
** Most Popular [More...]
** Ongoing Series (text)
** Anime List
#Sort by alphabet
http://kissanime.com/AnimeList
#Sort by popularity
http://kissanime.com/AnimeList/MostPopular
#Latest update
http://kissanime.com/AnimeList/LatestUpdate
#Sort by New anime
http://kissanime.com/AnimeList/Newest
#Just updated
http://kissanime.com/Content/images/newupdate.png
#Popular anime
http://kissanime.com/Content/images/hot.png
#=All
http://kissanime.com/AnimeList
#=#
http://kissanime.com/AnimeList?c=0
#=A
http://kissanime.com/AnimeList?c=a
#=Z
http://kissanime.com/AnimeList?c=z
http://kissanime.com/AnimeList/MostPopular?c=0
http://kissanime.com/AnimeList/MostPopular?c=a
http://kissanime.com/AnimeList/MostPopular?c=z
http://kissanime.com/AnimeList/LatestUpdate?c=0
http://kissanime.com/AnimeList/LatestUpdate?c=a
http://kissanime.com/AnimeList/LatestUpdate?c=z
http://kissanime.com/Status/Ongoing
http://kissanime.com/Status/Completed
http://kissanime.com/Status/Ongoing?c=0
http://kissanime.com/Status/Ongoing?c=a
http://kissanime.com/Status/Ongoing?c=z
http://kissanime.com/Status/Completed?c=0
http://kissanime.com/Status/Completed?c=a
http://kissanime.com/Status/Completed?c=z
http://kissanime.com/Genre/Action
http://kissanime.com/Genre/Martial-Arts
http://kissanime.com/Genre/Slice-of-Life
['Action','Adventure','Cars','Cartoon','Comedy','Dementia','Demons','Drama','Ecchi','Fantasy','Game','Harem','Historical','Horror','Josei','Kids','Magic','Martial Arts','Mecha','Military','Movie','Music','Mystery','ONA','OVA','Parody','Police','Psychological','Romance','Samurai','School','Sci-Fi','Seinen','Shoujo','Shoujo Ai','Shounen','Shounen Ai','Slice of Life','Space','Special','Sports','Super Power','Supernatural','Thriller','Vampire','Yuri']
youtube.com and redirector.googelvideo.com
http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=18&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380909147&sparams=id,itag,source,ip,ipbits,expire&signature=5F7431165F845827D1021864C6F05ED42412047D.47DEC42E6AE63018A654A82DFCA4B728F2EDB58F&key=lh1
<div id="divContentVideo" style="width: 820px; height: 530px" itemprop="video" itemscope itemtype="http://schema.org/VideoObject">
<meta itemprop="name" content="Sakasama no Patema: Beginning of the Day Episode 001"/>
<meta itemprop="description" content="Watch Sakasama no Patema: Beginning of the Day Episode 001 online in high quality"/>
<meta itemprop="thumbnailUrl" content="http://kissanime.com/Uploads/Etc/9-4-2013/2216905452452562.jpg"/>
<meta itemprop="contentURL" content="http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=34&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380909147&sparams=id,itag,source,ip,ipbits,expire&signature=9B19C53816274CF0F0742DCCED45AB35931B5A94.CE68A3835B898390266A9424619133E3B64CF02F&key=lh1&title=Episode+001"/>
<meta itemprop="uploadDate" content="2013-9-4"/>
<embed id="embedVideo" height="530" src="http://www.youtube.com/get_player?enablejsapi=1" type="application/x-shockwave-flash" width="820" allowfullscreen="true" allowscriptaccess="always" bgcolor="#fff" scale="noScale" wmode="opaque" flashvars="fmt_list=34%2F640x360%2C18%2F640x360%2C5%2F426x240&fmt_stream_map=34%7Chttp%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3de1ef1df39f5a4243%26itag%3d34%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1380909147%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d9B19C53816274CF0F0742DCCED45AB35931B5A94.CE68A3835B898390266A9424619133E3B64CF02F%26key%3dlh1%2C18%7Chttp%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3de1ef1df39f5a4243%26itag%3d18%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1380909147%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d5F7431165F845827D1021864C6F05ED42412047D.47DEC42E6AE63018A654A82DFCA4B728F2EDB58F%26key%3dlh1%2C5%7Chttp%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3de1ef1df39f5a4243%26itag%3d5%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1380909147%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d3D7DEB722C22C3894B612565FBE2BDC0A2DBA3CB.5CC4645828CE8B9BCD8274EDA95C14E27D18886%26key%3dlh1&video_id=picasacid&fs=1&hl=en&autoplay=1&ps=picasaweb&playerapiid=uniquePlayerId&t=1&vq=large&auth_timeout=86400000000" style="width: 820px; height: 530px; display:none"/>
</div>
</div>
<div style="font-size: 14px; font-weight: bold; padding-top: 35px">
Change quality by clicking on
<img src="http://kissanime.com/Uploads/Etc/3-20-2013/4192881Untitled-1.png" style="vertical-align: middle"/>
icon (lower quality = faster loading)
</div>
<div style="font-size: 14px; font-weight: bold; padding-top: 15px" id="divDownload">
Download (Save as...): <a href="http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=34&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380909147&sparams=id,itag,source,ip,ipbits,expire&signature=9B19C53816274CF0F0742DCCED45AB35931B5A94.CE68A3835B898390266A9424619133E3B64CF02F&key=lh1">640x360.flv</a> - <a href="http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=18&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380909147&sparams=id,itag,source,ip,ipbits,expire&signature=5F7431165F845827D1021864C6F05ED42412047D.47DEC42E6AE63018A654A82DFCA4B728F2EDB58F&key=lh1">640x360.mp4</a> - <a href="http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=5&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380909147&sparams=id,itag,source,ip,ipbits,expire&signature=3D7DEB722C22C3894B612565FBE2BDC0A2DBA3CB.5CC4645828CE8B9BCD8274EDA95C14E27D18886&key=lh1">426x240.flv</a></div>
<div style="padding-top: 5px">
<b>Filename:</b>
[COOL]_Sakasama_no_Patema_-_Beginning_of_the_Day_-_01_[360p][AC33315C]
</div>
http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=18&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380909841&sparams=id,itag,source,ip,ipbits,expire&signature=1F27DC0E1064C9C285D6B4CD9431C01F935F2BE8.7B6AB02236456653FDE616B5CAD3BC6BFB2A7A3C&key=lh1
http://kissanime.com/Content/images/previous.png
http://kissanime.com/Content/images/next.png
<a href="http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=34&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380909147&sparams=id,itag,source,ip,ipbits,expire&signature=9B19C53816274CF0F0742DCCED45AB35931B5A94.CE68A3835B898390266A9424619133E3B64CF02F&key=lh1">640x360.flv</a> -
<a href="http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=18&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380909147&sparams=id,itag,source,ip,ipbits,expire&signature=5F7431165F845827D1021864C6F05ED42412047D.47DEC42E6AE63018A654A82DFCA4B728F2EDB58F&key=lh1">640x360.mp4</a> -
<a href="http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=5&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380909147&sparams=id,itag,source,ip,ipbits,expire&signature=3D7DEB722C22C3894B612565FBE2BDC0A2DBA3CB.5CC4645828CE8B9BCD8274EDA95C14E27D18886&key=lh1">426x240.flv</a></div>
#playable url
<meta itemprop="contentURL" content="http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=34&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380930282&sparams=id,itag,source,ip,ipbits,expire&signature=4C27B302D7CB548319851DBF41704C0AD0F64150.688E2705BE567EDA37600C708A57A66596B4048C&key=lh1&title=Episode+001"/>
http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=34&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380930282&sparams=id,itag,source,ip,ipbits,expire&signature=4C27B302D7CB548319851DBF41704C0AD0F64150.688E2705BE567EDA37600C708A57A66596B4048C&key=lh1&title=Episode+001
http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=34&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380931201&sparams=id,itag,source,ip,ipbits,expire&signature=53C703722648F1F0C0563A1C24F875BB874F0928.8574B369D2C68FA297607B607872A51CBE8F1005&key=lh1&title=Episode+001
http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=18&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380931201&sparams=id,itag,source,ip,ipbits,expire&signature=965D6E29875C4E04D9D968ED9D818C6D86F265FE.B9C3345619129CAD1BC7DC95E0C5278782F30190&key=lh1&title=Episode+001
http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=5&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380931201&sparams=id,itag,source,ip,ipbits,expire&signature=BF28C12F8A2FD664F7025CD1E67F04C3100B9BAC.D322B793656797A33B0C089FFAF77AA1554240AA&key=lh1&title=Episode+001
http://redirector.googlevideo.com/videoplayback?id=e1ef1df39f5a4243&itag=34&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1380931201&sparams=id,itag,source,ip,ipbits,expire&signature=53C703722648F1F0C0563A1C24F875BB874F0928.8574B369D2C68FA297607B607872A51CBE8F1005&key=lh1&title=Episode+001
http://kissanime.com/RSS/Anime/Highschool-DxD
http://kissanime.com/RSS/Anime/[Folder Name for the Show]
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>High School DxD</title>
<description>Latest episodes of anime High School DxD</description>
<link>http://kissanime.com/Anime/Highschool-DxD</link>
<item><title>Episode 012</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-012</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 011</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-011</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 010</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-010</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 009</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-009</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 008</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-008</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 007</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-007</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 006</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-006</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 005</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-005</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 004</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-004</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 003</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-003</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 002</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-002</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>Episode 001</title><link>http://kissanime.com/Anime/Highschool-DxD/Episode-001</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>_Special_c_</title><link>http://kissanime.com/Anime/Highschool-DxD/_Special_c_-10-bit-_-1280x720_x264-AAC--avi</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>_Special_-_e_[BD]</title><link>http://kissanime.com/Anime/Highschool-DxD/_Special_-_e_-BD--1280x720--61EC03C9--avi</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>_Special_-_d_[BD]</title><link>http://kissanime.com/Anime/Highschool-DxD/_Special_-_d_-BD--10bit--1280x720--4AD9BC7D--avi</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>_Special_-_b_[BD]</title><link>http://kissanime.com/Anime/Highschool-DxD/_Special_-_b_-BD--1280x720--2E41C534--avi</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>_Special_-_a_[BD]</title><link>http://kissanime.com/Anime/Highschool-DxD/_Special_-_a_-BD-</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
<item><title>_SP.avi</title><link>http://kissanime.com/Anime/Highschool-DxD/_SP-avi</link><pubDate>Thu, 27 Dec 2012 09:58:46 GMT</pubDate></item>
</channel>
</rss>
http://redirector.googlevideo.com/videoplayback?id=a4735c9cb7b4ae03&itag=37&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1381122721&sparams=id,itag,source,ip,ipbits,expire&signature=C2284481D242E82AA1EFF28D9501A260FC5F3636.990D8A765D2E355CF8BD500D6AFA754C12B105B8&key=lh1&title=Episode+001
http://redirector.googlevideo.com/videoplayback?id=a4735c9cb7b4ae03&itag=37&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1381123118&sparams=id,itag,source,ip,ipbits,expire&signature=2694AC6FD116EFCD846AB7D6F804B91CB24F81DB.C1F7E1DE529DCF9163E68154BF41851304087850&key=lh1&title=Episode+001
http://redirector.googlevideo.com/videoplayback?id=a4735c9cb7b4ae03&itag=18&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1381123118&sparams=id,itag,source,ip,ipbits,expire&signature=994CC9567B32F54E1332189A073C7F5E6E6088A2.B417C584D524A8F1D972760CCB1E11D1145C314C&key=lh1
fmt_list=
37
%2F1920x1080
%2C22
%2F1280x720
%2C35
%2F854x480
%2C34
%2F640x360
%2C18
%2F640x360
%2C5
%2F426x240
&fmt_stream_map=
37%7Chttp%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d37%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381124176%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dD1775CA95A9C83CBAE44C70108E857BF39288F10.76F400AEA34411D5674AA98EBFC7C243D9801D7%26key%3dlh1
%2C
22%7Chttp%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d22%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381124176%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dDD090EF13C1C26C1495BFE9D1B42860DE508916A.AA6AA75B35D996F1E8ECF42ABCCE0A443941C3E7%26key%3dlh1
%2C
35%7Chttp%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d35%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381124176%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d3C8E46DAAC5304853FF6399419FB5718C7DB1A3F.55C26A08C7FA0E49A16ED23326F1AAB44E0AF489%26key%3dlh1
%2C34%7Chttp%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d34%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381124176%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d567955B5D9C6FF0B92F1535324EC81A995EB1179.9BF60DFE1E3F482948E17AB4B6973E2D4C0E8668%26key%3dlh1
%2C18%7Chttp%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d18%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381124176%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d34397943F4D9C0CC5ABAC8655A80DE4A107EE111.AEAF9D0AC01DFC3399D27420DD57EA3C8F41A69A%26key%3dlh1
%2C5%7Chttp%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d5%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381124176%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d3F118C8B390085AF4B6C2A15B2F3BBCBC4414A31.1F68B9947B667BA9FAEF1718B7F05D5BA2EB4CC5%26key%3dlh1
&video_id=picasacid&fs=1&hl=en&autoplay=1&ps=picasaweb&playerapiid=uniquePlayerId&t=1&vq=large&auth_timeout=86400000000" style="width: 820px; height: 530px; display:none"/>
[(u'37', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d37%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dBB1BE54560BB7D6EF8E9AAFDF010769BBA541F69.9E3890E802282B042C094E63C945842B36DB4C22%26key%3dlh1', u'37'), (u'22', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d22%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d69EFD15D1B0766A553C022C7C83F4400DA1C4E41.22316B5E58B53F7ECB34CCC0ED56EA5FB2C9F112%26key%3dlh1', u'22'), (u'35', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d35%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d40E4B9A315F4BB8D30A6BD5075450409A7D25D1B.47B3AE24613E3B13B66DE6C98EE7586B287D4F21%26key%3dlh1', u'35'), (u'34', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d34%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d4B8E1EE75CD58CBC7E46445D64573DFDF1398886.8DA0B31A71900881AA913D72D9E6DDE4C585CC4B%26key%3dlh1', u'34'), (u'18', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d18%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dCDD2E6B768C8B6064CB3164EF0D9AA2E1609700.BD4A6822192206A590A2DD0B6B50E3EFB3FD924D%26key%3dlh1', u'18'), (u'5', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d5%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dE3F47B21CACAA052826EBDC9873EA3F24CFF249.D372339E4AE848CC69F7F59E474799EC8C813B2%26key%3dlh1', u'5'), (u'37', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d37%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dBB1BE54560BB7D6EF8E9AAFDF010769BBA541F69.9E3890E802282B042C094E63C945842B36DB4C22%26key%3dlh1', u'37'), (u'22', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d22%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d69EFD15D1B0766A553C022C7C83F4400DA1C4E41.22316B5E58B53F7ECB34CCC0ED56EA5FB2C9F112%26key%3dlh1', u'22'), (u'35', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d35%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d40E4B9A315F4BB8D30A6BD5075450409A7D25D1B.47B3AE24613E3B13B66DE6C98EE7586B287D4F21%26key%3dlh1', u'35'), (u'34', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d34%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d4B8E1EE75CD58CBC7E46445D64573DFDF1398886.8DA0B31A71900881AA913D72D9E6DDE4C585CC4B%26key%3dlh1', u'34'), (u'18', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d18%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dCDD2E6B768C8B6064CB3164EF0D9AA2E1609700.BD4A6822192206A590A2DD0B6B50E3EFB3FD924D%26key%3dlh1', u'18'), (u'5', u'http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d5%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dE3F47B21CACAA052826EBDC9873EA3F24CFF249.D372339E4AE848CC69F7F59E474799EC8C813B2%26key%3dlh1', u'5')]
[(u'37
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d37%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dBB1BE54560BB7D6EF8E9AAFDF010769BBA541F69.9E3890E802282B042C094E63C945842B36DB4C22%26key%3dlh1
', u'
37'), (u'22
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d22%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d69EFD15D1B0766A553C022C7C83F4400DA1C4E41.22316B5E58B53F7ECB34CCC0ED56EA5FB2C9F112%26key%3dlh1
', u'
22'), (u'35
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d35%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d40E4B9A315F4BB8D30A6BD5075450409A7D25D1B.47B3AE24613E3B13B66DE6C98EE7586B287D4F21%26key%3dlh1
', u'
35'), (u'34
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d34%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d4B8E1EE75CD58CBC7E46445D64573DFDF1398886.8DA0B31A71900881AA913D72D9E6DDE4C585CC4B%26key%3dlh1
', u'
34'), (u'18
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d18%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dCDD2E6B768C8B6064CB3164EF0D9AA2E1609700.BD4A6822192206A590A2DD0B6B50E3EFB3FD924D%26key%3dlh1
', u'
18'), (u'5
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d5%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dE3F47B21CACAA052826EBDC9873EA3F24CFF249.D372339E4AE848CC69F7F59E474799EC8C813B2%26key%3dlh1
', u'
5'), (u'37
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d37%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dBB1BE54560BB7D6EF8E9AAFDF010769BBA541F69.9E3890E802282B042C094E63C945842B36DB4C22%26key%3dlh1
', u'
37'), (u'22
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d22%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d69EFD15D1B0766A553C022C7C83F4400DA1C4E41.22316B5E58B53F7ECB34CCC0ED56EA5FB2C9F112%26key%3dlh1
', u'
22'), (u'35
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d35%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d40E4B9A315F4BB8D30A6BD5075450409A7D25D1B.47B3AE24613E3B13B66DE6C98EE7586B287D4F21%26key%3dlh1
', u'
35'), (u'34
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d34%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3d4B8E1EE75CD58CBC7E46445D64573DFDF1398886.8DA0B31A71900881AA913D72D9E6DDE4C585CC4B%26key%3dlh1
', u'
34'), (u'18
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d18%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dCDD2E6B768C8B6064CB3164EF0D9AA2E1609700.BD4A6822192206A590A2DD0B6B50E3EFB3FD924D%26key%3dlh1
', u'
18'), (u'5
', u'
http%3a%2f%2fredirector.googlevideo.com%2fvideoplayback%3fid%3da4735c9cb7b4ae03%26itag%3d5%26source%3dpicasa%26cmo%3dsensitive_content%3dyes%26ip%3d0.0.0.0%26ipbits%3d0%26expire%3d1381126274%26sparams%3did%252Citag%252Csource%252Cip%252Cipbits%252Cexpire%26signature%3dE3F47B21CACAA052826EBDC9873EA3F24CFF249.D372339E4AE848CC69F7F59E474799EC8C813B2%26key%3dlh1
', u'
5')]
http://redirector.googlevideo.com/videoplayback?id=a4735c9cb7b4ae03&itag=37&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1381126274&sparams=id,itag,source,ip,ipbits,expire&signature=BB1BE54560BB7D6EF8E9AAFDF010769BBA541F69.9E3890E802282B042C094E63C945842B36DB4C22&key=lh1&title=Episode+001
http://icons.iconarchive.com/icons/sirubico/movie-genre/256/Action-icon.png
http://icons.iconarchive.com/icons/sirubico/movie-genre/256/SciFi-2-icon.png
def Menu_BrowseByGenre2(section=_default_section_):
url=''; WhereAmI('@ the Genre Menu')#print 'Browse by genres screen'
browsebyImg=checkImgLocal(art('genre','.jpg'))
ItemCount=len(GENRES)*4 # , total_items=ItemCount
for genre in GENRES:
img=''; imgName=genre #; pre='http://icons.iconarchive.com/icons/sirubico/movie-genre/128/'
if (img==''): img=checkImgLocal(os.path.join(ps('special.home'),'addons','skin.primal','extras','moviegenresposter',imgName+'.jpg'))
if (img==''): img=checkImgLocal(os.path.join(ps('special.home'),'addons','skin.tangency','extras','moviegenresposter',imgName+'.jpg'))
if (img==''): img=checkImgLocal(os.path.join(ps('special.home'),'addons','plugin.video.1channel','art','themes','PrimeWire',imgName+'.png'))
if (img==''): img=checkImgLocal(os.path.join(ps('special.home'),'addons','plugin.video.1channel','art','themes','Glossy_Black',imgName+'.png'))
if (img=='') and (browsebyImg is not ''): img=browsebyImg
if (img==''): img=_artSun
oo=[{'tu':'','tt':'Sort by alphabet'},{'tu':'/MostPopular','tt':'Sort by popularity'},{'tu':'/LatestUpdate','tt':'Latest update'},{'tu':'/Newest','tt':'New anime'}]
for o in oo:
url=_domain_url+'/Genre/'+genre.replace(' ','-')+o['tu']
_addon.add_directory({'mode': 'GetTitles','url': url,'genre': genre,'bygenre': genre,'pageno': '1','pagecount': addst('pages')}, {'title': genre+' ['+cFL(o['tt'],ps('cFL_color2'))+']'},img=img,fanart=_artFanart, total_items=ItemCount)
set_view('list',addst('default-view')); eod()
def Menu_BrowseByAZ(section=_default_section_,url='http://kissanime.com/AnimeList'):
url=''; WhereAmI('@ the Genre Menu')#print 'Browse by genres screen'
browsebyImg=checkImgLocal(art('genre','.jpg'))
Gs=['All','0','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']
ItemCount=len(Gs)*4 # , total_items=ItemCount
img=ps('img_az');
for genre in Gs:
#print genre
oo=[{'tu':'','tt':'Sort by alphabet'},{'tu':'/MostPopular','tt':'Sort by popularity'},{'tu':'/LatestUpdate','tt':'Latest update'},{'tu':'/Newest','tt':'New anime'}]
for o in oo:
print o
if (genre=='All'): url+=url+''+o['tu']
else: url+=url+''+o['tu']+'?c='+(genre.replace(' ','-'))
pars={'mode': 'GetTitles','url': url,'pageno': '1','pagecount': addst('pages')}
labs={'title': genre+' ['+cFL(o['tt'],ps('cFL_color2'))+']'}
_addon.add_directory(pars,labs,img=img,fanart=_artFanart,total_items=ItemCount)
set_view('list',addst('default-view')); eod()
def listLinks_old(section, url, showtitle='', showyear=''): ### Menu for Listing Hosters (Host Sites of the actual Videos)
WhereAmI('@ the Link List: %s' % url); sources=[]; listitem=xbmcgui.ListItem()
if (url==''): return
try: html=net.http_GET(url).content
except: html=''
if (html==''): return
try: html=html.encode("ascii", "ignore")
except: t=''
#if (_debugging==True): print html
###( , re.MULTILINE | re.IGNORECASE | re.DOTALL)
if ( section == 'tv'): ## TV Show ## Title (Year) - Info
match=re.compile(ps('LLinks.compile.show_episode.info'), re.MULTILINE | re.IGNORECASE | re.DOTALL).findall(html)[0] ### <title>Watch The Walking Dead Online for Free - Prey - S03E14 - 3x14 - SolarMovie</title>
if (_debugging==True): print match
if (match==None): return
ShowYear=_param['year'] #ShowYear=showyear
ShowTitle=match[0].strip(); EpisodeTitle=match[1].strip(); Season=match[2].strip(); Episode=match[3].strip()
ShowTitle=HTMLParser.HTMLParser().unescape(ShowTitle); ShowTitle=ParseDescription(ShowTitle); ShowTitle=ShowTitle.encode('ascii', 'ignore'); ShowTitle=ShowTitle.decode('iso-8859-1'); EpisodeTitle=HTMLParser.HTMLParser().unescape(EpisodeTitle); EpisodeTitle=ParseDescription(EpisodeTitle); EpisodeTitle=EpisodeTitle.encode('ascii', 'ignore'); EpisodeTitle=EpisodeTitle.decode('iso-8859-1')
if ('<p id="plot_' in html):
ShowPlot=(re.compile(ps('LLinks.compile.show.plot'), re.MULTILINE | re.IGNORECASE | re.DOTALL).findall(html)[0]).strip(); ShowPlot=HTMLParser.HTMLParser().unescape(ShowPlot); ShowPlot=ParseDescription(ShowPlot); ShowPlot=ShowPlot.encode('ascii', 'ignore'); ShowPlot=ShowPlot.decode('iso-8859-1')
else: ShowPlot=''
match=re.compile(ps('LLinks.compile.imdb.url_id'), re.MULTILINE | re.IGNORECASE | re.DOTALL).findall(html)[0]
if (_debugging==True): print match
(IMDbURL,IMDbID)=match; IMDbURL=IMDbURL.strip(); IMDbID=IMDbID.strip(); My_infoLabels={ "Studio": ShowTitle+' ('+ShowYear+'): '+Season+'x'+Episode+' - '+EpisodeTitle, "Title": ShowTitle, "ShowTitle": ShowTitle, "Year": ShowYear, "Plot": ShowPlot, 'Season': Season, 'Episode': Episode, 'EpisodeTitle': EpisodeTitle, 'IMDbURL': IMDbURL, 'IMDbID': IMDbID, 'IMDb': IMDbID }; listitem.setInfo(type="Video", infoLabels=My_infoLabels )
else: #################### Movie ## Title (Year) - Info
match=re.compile(ps('LLinks.compile.show.title_year')).findall(html)[0]
if (_debugging==True): print match
if (match==None): return
ShowYear=match[1].strip(); ShowTitle=match[0].strip(); ShowTitle=HTMLParser.HTMLParser().unescape(ShowTitle); ShowTitle=ParseDescription(ShowTitle); ShowTitle=ShowTitle.encode('ascii', 'ignore'); ShowTitle=ShowTitle.decode('iso-8859-1'); ShowPlot=(re.compile(ps('LLinks.compile.show.plot'), re.MULTILINE | re.IGNORECASE | re.DOTALL).findall(html)[0]).strip(); ShowPlot=HTMLParser.HTMLParser().unescape(ShowPlot); ShowPlot=ParseDescription(ShowPlot); ShowPlot=ShowPlot.encode('ascii', 'ignore'); ShowPlot=ShowPlot.decode('iso-8859-1'); match=re.compile(ps('LLinks.compile.imdb.url_id'), re.MULTILINE | re.IGNORECASE | re.DOTALL).findall(html)[0]
if (_debugging==True): print match
(IMDbURL,IMDbID)=match; IMDbURL=IMDbURL.strip(); IMDbID=IMDbID.strip(); My_infoLabels={ "Studio": ShowTitle+' ('+ShowYear+')', "Title": ShowTitle, "ShowTitle": ShowTitle, "Year": ShowYear, "Plot": ShowPlot, 'IMDbURL': IMDbURL, 'IMDbID': IMDbID, 'IMDb': IMDbID }; listitem.setInfo(type="Video", infoLabels=My_infoLabels )
### Both -Movies- and -TV Shows- ### Hosters
###( , re.MULTILINE | re.IGNORECASE | re.DOTALL)
match=re.compile(ps('LLinks.compile.hosters'), re.MULTILINE | re.DOTALL).findall(html)
if (len(match) > 0):
count=1
match=sorted(match, key=lambda item: (item[3],item[2],item[1]))
ItemCount=len(match) # , total_items=ItemCount
#print match
for url, host, quality, age in match:
host=host.strip(); quality=quality.strip(); name=str(count)+". "+host+' - [[B]'+quality+'[/B]] - ([I]'+age+'[/I])'
#if urlresolver.HostedMediaFile(host=host, media_id='xxx'):
if (host is not ''):
img=ps('Hosters.icon.url')+host; My_infoLabels['quality']=quality; My_infoLabels['age']=age; My_infoLabels['host']=host
pars={'section': section, 'img': _param['img'], 'mode': 'PlayVideo', 'url': url, 'quality': quality, 'age': age, 'infoLabels': My_infoLabels, 'listitem': listitem}
contextMenuItems=[];
#contextMenuItems.append(('Show Information', 'XBMC.Action(Info)'))
pars2=pars; pars2['mode']='Download'
pars2['studio']=My_infoLabels['Studio']
pars2['ShowTitle']=My_infoLabels['ShowTitle']
pars2['Title']=My_infoLabels['Title']
#deb('plugin url for download',_addon.build_plugin_url(pars2))
contextMenuItems.append(('Download', 'XBMC.RunPlugin(%s)' % _addon.build_plugin_url(pars2)))
#contextMenuItems.append(('jDownloader', ps('cMI.jDownloader.addlink.url') % (urllib.quote_plus(url))))
pars['mode']='PlayVideo'
_addon.add_directory(pars, {'title': name}, img=img, is_folder=False, contextmenu_items=contextMenuItems, total_items=ItemCount); count=count+1
set_view('list',addst('links-view')); eod()
else: set_view('list',addst('links-view')); eod(); return
### ################################################################
def listLatestSearches(section, url):
url='http://www.solarmovie.so/'; WhereAmI('@ List: Latest Searches -- url: %s' % url)
html=net.http_GET(url).content; html=messupText(html,_html=True,_ende=True,_a=False,Slashes=False); deb('html length',str(len(html)))
s='<li>[\n]\s+<a href="(/(movie|tv)/search/.+?/)">[\n]\s+(.+?)</a>[\n]\s+</li>' #'<a href="(.+?)">\n\s+(.+?) (\(\d\d\d\d\))</a>'
matches=re.compile(s).findall(html)
if (not matches): return;
#print matches
ItemCount=len(matches) # , total_items=ItemCount
#print matches
for path, zone, name in matches:
title=iFL(cFL(zone.upper()+': ',ps('cFL_color2')))+cFL(name,ps('cFL_color')); path=_domain_url+path; deb('Adding Item - Title',title); deb('Adding Item - Url',path); labs={'title': title }
if ('tv' ==zone): ### TV
pars={'section': ps('section.tv' ), 'mode': 'GetTitles', 'url': path, 'title': name }
_addon.add_directory(pars, labs, img=_art150, fanart=_artFanart, total_items=ItemCount)
elif ('movie'==zone): ### Movie
pars={'section': ps('section.movie'), 'mode': 'GetTitles', 'url': path, 'title': name }
_addon.add_directory(pars, labs, img=_art150, fanart=_artFanart, total_items=ItemCount)
set_view('list',addst('default-view')); eod()
def Site__PrivacyPolicy():
WhereAmI('@ SolarMovie.so: Privacy Policy -- url: %s' % 'http://www.solarmovie.so/privacy-policy.html');
HeaderMessage='[COLOR cornflowerblue]Privacy Policy[/COLOR]'
message ='[B]'+cFL('Privacy Policy',ps('cFL_color'))+'[/B][CR][CR]'
message+='Please read the following terms and conditions carefully and pay attention to the fact that by '
message+='entering this site you completely agree to its terms and conditions. SolarMovie site (& plugin) reserves '
message+='the right to change these terms and conditions without any prior notice. To get the changes '
message+='check this policy on a regular base.[CR][CR]'
message+='This Site (nor this plugin) shall have no responsibilities or liabilities for the content, data, opinions, '
message+='statements and links this site contains.[CR][CR]'
message+='YOU HEREBY FURTHER AFFIRM AND WARRANT THAT YOU ARE CURRENTLY OVER THE AGE OF EIGHTEEN ([B]18[/B]) '
message+='YEARS (TWENTYONE ([B]21[/B]) IN PLACES WHERE EIGHTEEN ([B]18[/B]) YEARS IS NOT THE AGE OF MAJORITY) '
message+='AND ARE CAPABLE OF LAWFULLY ENTERING INTO AND EXECUTING THE TERMS OF THIS AGREEMENT.[CR][CR]'
message+='SolarMovie uses the right of "Free Speech".[CR][CR]'
message+='This site works in accordance with copyright law. Persons who reproduce or distribute any works '
message+='without a copyright owner\'s consent, may be in violation of this law.[CR][CR]'
message+='We do not make warranties that this site (nor this plugin) will operate error free. If you see an error, please '
message+='contact the webmaster (or author of the plugin if it has to do with the plugin, however please make sure to check that the site is up and running first.).[CR][CR]'
message+='By entering this site (and/or this plugin) you agree to hold the owners, employees, advertisers of [B]SolarMovie[/B] (both the site and this plugin)'
message+='free from any and all liability.[CR][CR]'
message+='Your membership may not be shared or transferred.[CR][CR]'
message+='If you have any questions please feel free to contact us (of the site).[CR][CR]'
#########
message+='[CR][CR][COLOR grey][I]This has been copied from solarmovie.so on 2013-08-11, with the appropriate text added for this plugin. Please check out the current '
message+='Privacy Policy for the site @ http://www.solarmovie.so/privacy-policy.html for any changes.[/I][/COLOR][CR][CR][CR][CR]'
message+=cFL('Thank you for taking the time to read this.',ps('cFL_color3'))
message=cFL(message,ps('cFL_color5'))
print message
TextBox2().load_string(message,HeaderMessage)
#eod()
def Site__TermsOfService():
WhereAmI('@ SolarMovie.so: Terms of Service -- url: %s' % 'http://www.solarmovie.so/terms.html');
HeaderMessage='[COLOR cornflowerblue]Terms of Service[/COLOR]'
message ='[B]'+cFL('Terms of Service',ps('cFL_color'))+'[/B][CR][CR]'
#########
message+='[B]'+cFL('Using SolarMovie',ps('cFL_color2'))+'[/B][CR][CR]'
message+='When you enter SolarMovie (site and/or plugin) you automatically agree to all our rules and regulations![CR][CR][CR]'
#########
message+='[B]'+cFL('Hosting and Legal Issues',ps('cFL_color2'))+'[/B][CR][CR]'
message+='SolarMovie is not hosting or uploading any copyrighted content or media of any kind; '
message+='we only store links to third-party websites that carry their own legal responsibility '
message+='for their content. If you want to remove content from these websites - please contact '
message+='these media hosters directly.[CR][CR]'
message+='SolarMovie is working according to DMCA, so if you need to remove any content from the '
message+='website, you can contact our copyright issues department. '
message+='(http://www.solarmovie.so/contacts.html)[CR][CR][CR]'
#########
message+='[B]'+cFL('Responsibilities',ps('cFL_color2'))+'[/B][CR][CR]'
message+='SolarMovie (site & plugin) is not responsible for anything that might happen on third-party websites. '
message+='We are not responsible for the accuracy, compliance, copyright, legality, decency, or '
message+='any other aspect of the content of other linked sites. Please, be careful when you '
message+='install, download or submit any personal or CC information![CR][CR]'
message+='SolarMovie (site & plugin) holds no responsibility for any legal or copyright issues that may occur due '
message+='to the use of SolarMovie (site and/or plugin). Please check local copyright laws or the rules of your '
message+='provider to avoid legal problems.[CR][CR]'
message+='P.S.[CR]As a website we strongly recommend our users to support the makers of the movies '
message+='and buy the shows and movies that they like![CR][CR][CR]'
#########
message+='[CR][CR][COLOR grey][I]This has been copied from solarmovie.so on 2013-08-11, with the appropriate text added for this plugin. Please check out the current '
message+='Terms of Service for the site @ http://www.solarmovie.so/terms.html for any changes.[/I][/COLOR][CR][CR][CR][CR]'
message+=cFL('Thank you for taking the time to read this.',ps('cFL_color3'))
message=cFL(message,ps('cFL_color5'))
print message
TextBox2().load_string(message,HeaderMessage)
#eod()
def News_LatestThreads(url,headermessage):
WhereAmI('@ News: Latest Threads -- url: %s' % url);
message=''; html=net.http_GET(url).content
if (html=='') or (html=='none') or (html==None): deb('Html','is empty.' ); return
html=messupText(html,_html=True,_ende=True,_a=False,Slashes=False)
ThreadSection=html
deb('html length',str(len(html)))
try: ThreadSection=ThreadSection.split('<h3>Latest Threads</h3>')[1]
except: t=''
try: ThreadSection=ThreadSection.split('<div id="footer">')[0]
except: t=''
try: ThreadSection=ThreadSection.split('<iframe')[0]
except: t=''
ThreadSection=ThreadSection.replace('<div class="commentPreview ">','').strip()
ThreadSection=ThreadSection.replace('<a href="/tv/','[COLOR black] ').strip()
ThreadSection=ThreadSection.replace('<a href="/watch-','[COLOR black] ').strip()
ThreadSection=ThreadSection.replace('/" class="commentPreviewTitle">','[/COLOR][COLOR '+ps('cFL_color')+']').strip()
ThreadSection=ThreadSection.replace('.html" class="commentPreviewTitle">','[/COLOR][COLOR '+ps('cFL_color')+']').strip()
ThreadSection=ThreadSection.replace('class="commentPreviewTitle">','[/COLOR][COLOR '+ps('cFL_color')+']').strip()
ThreadSection=ThreadSection.replace('<span class="commentPreviewInfo"> by','[/COLOR][COLOR pink] by ').strip()
ThreadSection=ThreadSection.replace('<a href="/profile/','[/COLOR][COLOR black] ').strip()
ThreadSection=ThreadSection.replace('/">','[/COLOR][COLOR '+ps('cFL_color2')+'] By ').strip()
ThreadSection=ThreadSection.replace('/"','[/COLOR][COLOR '+ps('cFL_color2')+']').strip()
ThreadSection=ThreadSection.replace('</a>,','[/COLOR], [COLOR '+ps('cFL_color3')+']').strip()
ThreadSection=ThreadSection.replace('</span>','[/COLOR]').strip()
ThreadSection=ThreadSection.replace('<span class="commentPreviewBody">','[COLOR '+ps('cFL_color6')+']').strip()
ThreadSection=ThreadSection.replace('</div>','').strip()
ThreadSection=ThreadSection.replace('<div class="commentPreview oddComment">','').strip()
ThreadSection=ThreadSection.replace('</a>','[COLOR black]').strip()
ThreadSection=ThreadSection.replace('<span class="commentPrewviewInfo">>','[/COLOR]').strip()
ThreadSection=ThreadSection.replace('\n\n','\n').strip()
ThreadSection=ThreadSection.replace('\n','').strip()
ThreadSection=ThreadSection.replace('\r','').strip()
ThreadSection=ThreadSection.replace(' ',' ').strip()
ThreadSection=ThreadSection.replace(' ',' ').strip()
ThreadSection=ThreadSection.replace(' ',' ').strip()
ThreadSection=ThreadSection.replace(' ',' ').strip()
ThreadSection=ThreadSection.replace(' ',' ').strip()
matches=re.compile('(\[COLOR\sblack\].+?\[/COLOR\])', re.DOTALL).findall(ThreadSection)
for match in matches:
ThreadSection=ThreadSection.replace(match,'').strip()
ThreadSection=ThreadSection.replace(') ',') ').strip()
ThreadSection=ThreadSection.replace(') [/COLOR][CR][COLOR '+ps('cFL_color')+']',') [/COLOR][COLOR '+ps('cFL_color')+']').strip()
ThreadSection=ThreadSection.replace('[/COLOR][COLOR '+ps('cFL_color')+']','[/COLOR][CR][CR][COLOR '+ps('cFL_color')+']').strip()
ThreadSection=ThreadSection.replace('[/COLOR] [COLOR '+ps('cFL_color')+']','[/COLOR][CR][CR][COLOR '+ps('cFL_color')+']').strip()
ThreadSection=ThreadSection.replace('[/COLOR] [COLOR '+ps('cFL_color')+']','[/COLOR][CR][CR][COLOR '+ps('cFL_color')+']').strip()
ThreadSection=ThreadSection.replace('[/COLOR] [COLOR '+ps('cFL_color')+']','[/COLOR][CR][CR][COLOR '+ps('cFL_color')+']').strip()
ThreadSection=ThreadSection.replace(' [COLOR '+ps('cFL_color6')+']',' [CR][COLOR '+ps('cFL_color6')+']').strip()
ThreadSection=ThreadSection.replace('[COLOR '+ps('cFL_color')+'] ','[COLOR '+ps('cFL_color')+']').strip()
#ThreadSection=ThreadSection.replace(' [COLOR '+ps('cFL_color')+']',' [CR][CR][COLOR '+ps('cFL_color')+']').strip()
#ThreadSection=ThreadSection.replace('','').strip()
#ThreadSection=ThreadSection.replace('','').strip()
#ThreadSection=ThreadSection.replace('','').strip()
_addon.resolve_url(url)
TextBox2().load_string(ThreadSection,headermessage)
#_addon.resolve_url(url)
######
def UsersShowUploads(section, url):
WhereAmI('@ Users: Show Uploads -- url: %s' % url)
html=net.http_GET(url).content; html=messupText(html,_html=True,_ende=True,_a=False,Slashes=False); deb('html length',str(len(html)))
s='<a href="(.+?)">\n\s+(.+?) (\(\d\d\d\d\))</a>' #s='<th colspan="\d+" class="commentSummaryName">[\n]\s+<a href="(/.+?)">[\n]\s+(.+?)\s(\(\d\d\d\d\))</a>[\n]\s+</th>'
matches=re.compile(s).findall(html)
if (not matches): return;
#print matches
ItemCount=len(matches) # , total_items=ItemCount
#matches=sorted(matches, key=lambda item: item[1],reverse=False)
#matches=sorted(matches, key=lambda item: item[2],reverse=True)
for path, name, year in matches:
if ('/tv/' in path) and ('/season-' in path) and ('/episode-' in path): ### TV Episode
pars={'section': ps('section.tv' ), 'mode': 'GetLinks', 'url': _domain_url+path, 'title': name, 'year': year }
showtitle,season,episode,eptitle=re.compile('__(.+?)\ss(\d+)e(\d+)\s(.+?)__', re.DOTALL).findall('__'+name+'__')[0]
title=' - '+cFL(eptitle,ps('cFL_color4'))
title=' '+cFL(season+cFL('x',ps('cFL_color4'))+episode,ps('cFL_color5'))+title
title=cFL(showtitle+' ('+cFL(year,ps('cFL_color2'))+')'+title,ps('cFL_color'))
labs={'title': title }; deb('Adding TV Episode - Title',title); deb('Adding TV - Url',pars['url'])
_addon.add_directory(pars, labs, img=_art150, fanart=_artFanart, total_items=ItemCount)
elif ('/watch-' in path) and ('.html' in path): ### Movie
pars={'section': ps('section.movie'), 'mode': 'GetLinks', 'url': _domain_url+path, 'title': name, 'year': year }
title=cFL(name+' ('+cFL(year,ps('cFL_color2'))+')',ps('cFL_color'))
labs={'title': title }; deb('Adding Movie - Title',title); deb('Adding Movie - Url',pars['url'])
_addon.add_directory(pars, labs, img=_art150, fanart=_artFanart, total_items=ItemCount)
set_view('videos',addst('default-view')); eod()
def UsersShowFavorites(section, url):
WhereAmI('@ Users: Show Favorites -- url: %s' % url)
html=net.http_GET(url).content
html=messupText(html,_html=True,_ende=True,_a=False,Slashes=False)
deb('html length',str(len(html)))
#matches=re.compile('<a class="userPic nohover">[\n]\s+<img src="(http.+?\.\D+)" /></a>[\n][\n]\s+<dl\sclass="ratingBoxStatus">[\n]\s+<dt>[\n]\s+<a\shref="(/profile/[0-9A-Za-z]+/)">([0-9A-Za-z]+)</a>,[\n]\s+<span\sclass="commentDate">joined:\s(.+?\sago)</span>[\n]\s+</dt>[\n]\s+</dl>[\n]\s+<div class="carmaRatingGroup">[\n]\s+<div class="ratingCell">(.+?)</div>', re.DOTALL).findall(html)
if (not matches): return
#for img, path, person, joined, rating in matches:
# pars={'section':section, 'mode': 'UsersChooseSection', 'url': _domain_url+path }
# title=cFL(person+' ('+cFL(joined,ps('cFL_color2'))+')'+' ['+cFL(rating,ps('cFL_color3'))+']',ps('cFL_color'))
# labs={'title': title }
# _addon.add_directory(pars, labs, img=img, fanart=_artFanart)
set_view('videos',addst('default-view')); eod()
#def UsersShowWatchList(section, url):
# WhereAmI('@ Users: Show Watch List -- url: %s' % url)
# html=net.http_GET(url).content
# html=messupText(html,_html=True,_ende=True,_a=False,Slashes=False)
# deb('html length',str(len(html)))
# #matches=re.compile('<a class="userPic nohover">[\n]\s+<img src="(http.+?\.\D+)" /></a>[\n][\n]\s+<dl\sclass="ratingBoxStatus">[\n]\s+<dt>[\n]\s+<a\shref="(/profile/[0-9A-Za-z]+/)">([0-9A-Za-z]+)</a>,[\n]\s+<span\sclass="commentDate">joined:\s(.+?\sago)</span>[\n]\s+</dt>[\n]\s+</dl>[\n]\s+<div class="carmaRatingGroup">[\n]\s+<div class="ratingCell">(.+?)</div>', re.DOTALL).findall(html)
# if (not matches): return
# #for img, path, person, joined, rating in matches:
# # pars={'section':section, 'mode': 'UsersChooseSection', 'url': _domain_url+path }
# # title=cFL(person+' ('+cFL(joined,ps('cFL_color2'))+')'+' ['+cFL(rating,ps('cFL_color3'))+']',ps('cFL_color'))
# # labs={'title': title }
# # _addon.add_directory(pars, labs, img=img, fanart=_artFanart)
# set_view('videos',addst('default-view')); eod()
def UsersShowPersonInfo(mode, section, url):
WhereAmI('@ Users: Show Profile Account Information -- url: %s' % url)
pars={'mode':mode,'section':section,'url':url}
html=net.http_GET(url).content
html=messupText(html,_html=True,_ende=True,_a=False,Slashes=False)
deb('html length',str(len(html)))
try: img=re.compile('<img\ssrc="(http://static\.solarmovie\.so/uploads/users/[0-9A-Za-z]+\.png)"\s/>').findall(html)[0]
except:
try: img=re.compile('<a\sclass="userPic\snohover\s+verifUpic">[\n]\s*<img\ssrc="(.+?)"\s/>').findall(html)[0]
except: img=ps('img.userdefault')
try: user_UserName=re.compile('<h2 class="noCapitalize">[\n]\s*[\n]\s*([A-Za-z0-9\-\_]+)').findall(html)[0]
except: user_UserName='[Unknown]'
if (user_UserName):
_addon.add_directory(pars, { 'title': cFL(user_UserName,ps('cFL_color'))+'\'s Profile' }, img=img, fanart=_artFanart)
try: user_Position=re.compile('<span class="position">(\D+)</span>').findall(html)[0]
except: t=''
if (user_Position):
_addon.add_directory(pars, { 'title': 'Position: '+cFL(user_Position,ps('cFL_color2')) }, img=img, fanart=_artFanart)
try: user_Registered=re.compile('<td><label>Registered:</label></td>[\n]\s+<td>(\D+\s\d+,\s\d\d\d\d,\s\d+:\d+\s\D\D)</td>').findall(html)[0]
except: t=''
if (user_Registered):
_addon.add_directory(pars, { 'title': 'Registered: '+user_Registered }, img=img, fanart=_artFanart)
try: user_Comments=re.compile('<td><label>Comments:</label></td>[\n]\s+<td>(\d+)</td>').findall(html)[0]
except: t=''
if (user_Comments):
_addon.add_directory(pars, { 'title': 'Comments: '+user_Comments }, img=img, fanart=_artFanart)
try: user_ProfileViews=re.compile('<td><label>Profile Views:</label></td>[\n]\s+<td>(\d+)</td>').findall(html)[0]
except: t=''
if (user_ProfileViews):
_addon.add_directory(pars, { 'title': 'Profile Views: '+user_ProfileViews }, img=img, fanart=_artFanart)
try: user_LinksActive=re.compile('<td><label>Links Active:</label></td>[\n]\s+<td>(\d+)</td>').findall(html)[0]
except: t=''
if (user_LinksActive):
_addon.add_directory(pars, { 'title': 'Links Active: '+user_LinksActive }, img=img, fanart=_artFanart)
try: user_ForumThreads=re.compile('<td><label>Forum Threads:</label></td>[\n]\s+<td>[\n]\s+<a href="/forum/search/login/.+?/">(\d+)</a>[\n]\s+</td>').findall(html)[0]
except: user_ForumThreads='0'
if (user_ForumThreads):
_addon.add_directory(pars, { 'title': 'Forum Threads: '+user_ForumThreads }, img=img, fanart=_artFanart)
try: user_ForumPosts=re.compile('<td><label>Forum Posts:</label></td>[\n]\s+<td>(\d+)</td>').findall(html)[0]
except: t=''
if (user_ForumPosts):
_addon.add_directory(pars, { 'title': 'Forum Posts: '+user_ForumPosts }, img=img, fanart=_artFanart)
#matches=re.compile('').findall(html)[0]
#if (matches):
# _addon.add_directory(pars, { 'title': ': '++'' }, img=img, fanart=_artFanart)
#
set_view('list',addst('default-view')); eod()
def UsersChooseSection(section, url):
WhereAmI('@ Users: Choose Area -- url: %s' % url)
_addon.add_directory({'section':section, 'mode': 'UsersShowProfileAccountInfo', 'url': url+'' }, {'title': 'Account' }, img=_artSun, fanart=_artFanart)
#_addon.add_directory({'section':section, 'mode': 'UsersShowProfileBlogs', 'url': url+'blogs/' }, {'title': 'Blogs' }, img=_artSun, fanart=_artFanart)
##_addon.add_directory({'section':section, 'mode': 'UsersShowFavorites', 'url': url+'favorites/' }, {'title': 'Favorites' }, img=_artSun, fanart=_artFanart) ### Needs Testing
_addon.add_directory({'section':section, 'mode': 'UsersShowUploads', 'url': url+'favorites/' }, {'title': 'Favorites' }, img=_artSun, fanart=_artFanart) ### Needs Testing
_addon.add_directory({'section':ps('section.movie'), 'mode': 'GetTitles', 'url': url+'watchlist/' }, {'title': 'Watch List (Movies)' }, img=_artSun, fanart=_artFanart) ### Tested: Works
_addon.add_directory({'section':ps('section.tv'), 'mode': 'GetTitles', 'url': url+'watchlist/' }, {'title': 'Watch List (TV Shows)' }, img=_artSun, fanart=_artFanart) ### Needs Testing
_addon.add_directory({'section':section, 'mode': 'UsersShowUploads', 'url': url+'uploads/' }, {'title': 'Uploads' }, img=_artSun, fanart=_artFanart) ### Needs Testing
set_view('list',addst('default-view')); eod()
def UsersList(section, url):
WhereAmI('@ Users: List -- url: %s' % url)
html=net.http_GET(url).content
html=messupText(html,_html=True,_ende=True,_a=False,Slashes=False)
deb('html length',str(len(html)))
matches=re.compile('<a class="userPic nohover">[\n]\s+<img src="(http.+?\.\D+)" /></a>[\n][\n]\s+<dl\sclass="ratingBoxStatus">[\n]\s+<dt>[\n]\s+<a\shref="(/profile/[0-9A-Za-z]+/)">([0-9A-Za-z]+)</a>,[\n]\s+<span\sclass="commentDate">joined:\s(.+?\sago)</span>[\n]\s+</dt>[\n]\s+</dl>[\n]\s+<div class="carmaRatingGroup">[\n]\s+<div class="ratingCell">(.+?)</div>', re.DOTALL).findall(html)
if (not matches): return
try: nextpage=re.compile('<li class="next"><a href="(http.+?solarmovie\.so/\D+/.+?page=\d+)"></a></li>', re.DOTALL).findall(html)[0]
except: nextpage=''
if (nextpage is not ''): _addon.add_directory({ 'section':section, 'mode': 'listUsers', 'url': nextpage }, {'title': ps('LI.nextpage.name')}, img=art('icon-next'), fanart=_artFanart)
ItemCount=len(matches) # , total_items=ItemCount
for img, path, person, joined, rating in matches:
pars={'section':section, 'mode': 'UsersChooseSection', 'url': _domain_url+path }
title=cFL(person+' ('+cFL(joined,ps('cFL_color2'))+')'+' ['+cFL(rating,ps('cFL_color3'))+']',ps('cFL_color'))
labs={'title': title }
_addon.add_directory(pars, labs, img=img, fanart=_artFanart, total_items=ItemCount)
set_view('list',addst('default-view')); eod()
def Trailers_List(section, url, genre):
if (url==''): return
WhereAmI('@ the Item List -- url: %s' % url)
html=net.http_GET(url).content ### html=getURL(url)
#try: Trailers=re.compile('<div class="movieListSingleFilm">[\n]\s+<a href="(/watch-.+?-\d+.html)"><img width="\d+"[\n]\s+src="(http://static.solarmovie.so/images/movies/[0-9]+_\d+x\d+.jpg)"[\n]\s+class="cover" alt="" /></a>[\n]\s+<h2>[\n]\s+<a href="/watch-.+?-\d+.html">(.+?)</a>', re.DOTALL).findall(html)
#try: Trailers=re.compile('<div class="movieListSingleFilm">', re.DOTALL).findall(html)
#except: Trailers=''
#print html
if ('<div class="movieListDetailed">' not in html): eod(); return
html=html.split('<div class="movieListDetailed">')[1]
if ('class="js-tab"' in html): html=html.split('class="js-tab"')[0]
Trailers=html.split('<div class="movieListSingleFilm">')
#print Trailers
ItemCount=len(Trailers) # , total_items=ItemCount
for Trailer in Trailers:
if ('<img' in Trailer):
Trailer=Trailer.strip()
contextMenuItems=[]; labs={}; pars={}; pars['section']=section; pars['genre']=genre; labs['fanart']=pars['fanart']=_artFanart; labs['plot']=''
try: labs['thumbnail']=pars['thumbnail']=labs['img']=pars['img']=re.compile('><img width="\d+"[\n]\s+src="(http://static.solarmovie.so/images/movies/[0-9]+_150x220.jpg)"[\n]\s+class="cover" alt="" /></a>', re.DOTALL).findall(Trailer)[0].strip()
except: labs['thumbnail']=pars['thumbnail']=labs['img']=pars['img']=''
try: pars['title']=re.compile('<h2>[\n]\s+<a href="/watch-.+?-\d+.html">(.+?)</a>', re.DOTALL).findall(Trailer)[0].strip()
except: pars['title']=''
try: labs['year']=pars['year']=re.compile('<h2>[\n]\s+<a href="/watch-.+?-(\d+).html">', re.DOTALL).findall(Trailer)[0].strip()
except: labs['year']=pars['year']=''
try: labs['peopleWaitForIt']=re.compile('<span class="peopleWaitForIt">[\n]\s+(\d+) people wait for it', re.DOTALL).findall(Trailer)[0].strip()
except: labs['peopleWaitForIt']=''
try: labs['Director']=re.compile('<span class="movieListDirector">[\n]\s+by[\n]\s+(.*?)\s+</span>', re.DOTALL).findall(Trailer)[0].strip()
except: labs['Director']=''
try: labs['plot']=labs['Description']=labs['PlotOutline']=re.compile('<p>(.+?)</p>', re.DOTALL).findall(Trailer)[0].strip()
except: labs['plot']=labs['Description']=labs['PlotOutline']=''
try: pars['url']=re.compile('<h2>[\n]\s+<a href="(/watch-.+?-\d+.html)"', re.DOTALL).findall(Trailer)[0].strip()
except: pars['url']=''
if (pars['url'] is not ''): pars['url']=_domain_url+pars['url']
try: labs['Premiere']=labs['DateReleased']=labs['DateAired']=labs['Aired']=labs['date']=re.compile('<span class="timeToRelease">[\n]\s+in \d+ \D+;[\n]\s+<span>(\D+ \d+, \d\d\d\d)</span>[\n]\s+</span>', re.DOTALL).findall(Trailer)[0].strip()
except: labs['date']=''
try: labs['ToBeReleasedIn']=re.compile('<span class="timeToRelease">[\n]\s+in (\d+ \D+);[\n]\s+<span>\D+ \d+, \d\d\d\d</span>[\n]\s+</span>', re.DOTALL).findall(Trailer)[0].strip()
except: labs['ToBeReleasedIn']=''
#try: labs['title']=re.compile('', re.DOTALL).findall(Trailer)[0].strip()
#except: labs['title']=''
#labs['url']=_domain_url+tUrl
#labs['title']=tTitle
labs['Director']=labs['Director'].strip(); labs['peopleWaitForIt']=labs['peopleWaitForIt'].strip()
if (labs['date'] is not ''):
labs['plot']+='[CR]Premiere: '+labs['date']
if (labs['ToBeReleasedIn'] is not ''): labs['plot']+=' (in '+labs['ToBeReleasedIn']+')'
if (labs['Director'] is not ''): labs['plot']+='[CR]Director: '+labs['Director']
if (labs['peopleWaitForIt'] is not ''): labs['plot']+='[CR]People waiting for it: '+labs['peopleWaitForIt']
labs['title']=pars['title']
if (pars['year'] is not ''): labs['title']+=' ('+cFL(pars['year'],ps('cFL_color2'))+')'
if (labs['ToBeReleasedIn'] is not ''): labs['title']+=' {'+cFL('in '+labs['ToBeReleasedIn'],ps('cFL_color6'))+'}'
#
labs['title']=cFL(labs['title'],ps('cFL_color'))
contextMenuItems.append((ps('cMI.showinfo.name'),ps('cMI.showinfo.url')))
deb('Trailer',labs['title']+' | '+labs['img']+' | '+pars['url'])
pars['mode']='PlayTrailer'
if (pars['url'] is not ''): _addon.add_directory(pars, labs, img=labs['img'], fanart=labs['fanart'], contextmenu_items=contextMenuItems, is_folder=False, total_items=ItemCount)
#
#
#if (Trailers==''): eod(); return
#for tUrl, tImg, tTitle in Trailers:
# contextMenuItems=[]; labs={}; pars={}
# pars['section']=section; pars['genre']=genre; pars['url']=_domain_url+tUrl; pars['title']=tTitle; pars['thumbnail']=pars['img']=tImg
# labs['title']=tTitle; labs['thumbnail']=labs['img']=tImg; labs['fanart']=_artFanart
# contextMenuItems.append((ps('cMI.showinfo.name'),ps('cMI.showinfo.url')))
# deb('Movie Name',labs['title']); deb('Movie thumbnail',labs['thumbnail'])
# pars['mode']='PlayTrailer'
# _addon.add_directory(pars, labs, img=labs['img'], fanart=labs['fanart'], contextmenu_items=contextMenuItems)
# #
set_view('movies',addst('movies-view')); eod()
def Select_Sort_OLD(url='',AZ='all'):
if (url==''): url=_domain_url+'/'+ps('common_word')+'List'
WhereAmI('@ the Select Sort Menu'); AZ=AZ.lower();
option_list=['Alphabetical','Most Popular','Latest Update','New '+ps('common_word')]
path_list =['','/MostPopular','/LatestUpdate','/Newest']
if (AZ=='') or (AZ=='all'): AZTag=''
elif ('?' in url): AZTag='&c='+AZ
else: AZTag='?c='+AZ
r=askSelection(option_list,'Select Sort Method')
if (r==0): _DoGetItems(url+path_list[r]+AZTag)
elif (r== -1): eod(); return
else: _DoGetItems(url+path_list[r]+AZTag)
def Select_AZ(url=''):
if (url==''): url=_domain_url+'/'+ps('common_word')+'List'
option_list=['All','0','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']
WhereAmI('@ the Select AZ Menu')
#r=askSelection(option_list,'Select A-Z, 0(#0-9) or All')
#if (r==0): Select_Sort(url,AZ=option_list[r].lower()) #Select_Sort(url,AZ='')
#elif (r== -1): eod(); return
#else: Select_Sort(url,AZ=option_list[r].lower())
###
pn='1'; pc=addst('pages'); ItemCount=len(option_list)
for oo in option_list:
if (oo=='All'): ooo=''
else: ooo=oo.lower()
_addon.add_directory({'mode':'SelectSort','url':url,'title':ooo,'pageno':pn,'pagecount':pc},{'title':oo},img=_artIcon,fanart=_artFanart,total_items=ItemCount)
set_view('list',addst('default-view')); eod()
def Menu_BrowseByGenre(section=_default_section_):
url=''; WhereAmI('@ the Genre Menu')#print 'Browse by genres screen'
browsebyImg=checkImgLocal(art('genre','.jpg'))
ItemCount=len(GENRES)*4 # , total_items=ItemCount
for genre in GENRES:
img=''; imgName=genre #; pre='http://icons.iconarchive.com/icons/sirubico/movie-genre/128/'
if (img==''): img=checkImgLocal(os.path.join(ps('special.home'),'addons','skin.primal','extras','moviegenresposter',imgName+'.jpg'))
if (img==''): img=checkImgLocal(os.path.join(ps('special.home'),'addons','skin.tangency','extras','moviegenresposter',imgName+'.jpg'))
if (img==''): img=checkImgLocal(os.path.join(ps('special.home'),'addons','plugin.video.1channel','art','themes','PrimeWire',imgName+'.png'))
if (img==''): img=checkImgLocal(os.path.join(ps('special.home'),'addons','plugin.video.1channel','art','themes','Glossy_Black',imgName+'.png'))
if (img=='') and (browsebyImg is not ''): img=browsebyImg
if (img==''): img=_artSun
#Select_Sort(_domain_url+'/Genre/'+genre.replace(' ','-'),AZ='')
_addon.add_directory({'mode': 'SelectSort','url': _domain_url+'/Genre/'+genre.replace(' ','-')},{'title':genre},img=img,fanart=_artFanart,total_items=ItemCount)
#oo=[{'tu':'','tt':'Sort by alphabet'},{'tu':'/MostPopular','tt':'Sort by popularity'},{'tu':'/LatestUpdate','tt':'Latest update'},{'tu':'/Newest','tt':'New anime'}]
#for o in oo:
# url=_domain_url+'/Genre/'+genre.replace(' ','-')+o['tu']
# _addon.add_directory({'mode': 'GetTitles','url': url,'genre': genre,'bygenre': genre,'pageno': '1','pagecount': addst('pages')}, {'title': genre+' ['+cFL(o['tt'],ps('cFL_color2'))+']'},img=img,fanart=_artFanart, total_items=ItemCount)
set_view('list',addst('default-view')); eod()
deb('LastAutoPlayItemName',addst("LastAutoPlayItemName"))
if (play.isPlayingVideo()==False):
_addon.addon.setSetting(id="LastAutoPlayItemUrl", value=contentURL)
_addon.addon.setSetting(id="LastAutoPlayItemName", value=ptitle)
_addon.addon.setSetting(id="LastShowListedURL", value=url)
_addon.addon.setSetting(id="LastShowListedIMG", value=img)
_addon.addon.setSetting(id="LastVideoPlayItemUrl", value=url)
_addon.addon.setSetting(id="LastVideoPlayItemName", value=title)
_addon.addon.setSetting(id="LastVideoPlayItemImg", value=img)
_addon.addon.setSetting(id="LastVideoPlayItemStudio", value=studio)
http://888toto.deviantart.com/art/Manga-and-comic-Fonts-261380252
http://colorburned.com/guest-article-20-insanely-cool-manga-fonts/