forked from moh201084/naughty
-
Notifications
You must be signed in to change notification settings - Fork 4
/
default.py
1897 lines (1709 loc) · 88 KB
/
default.py
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
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- coding: utf-8 -*-
'''
Copyright (C) 2017
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
'''
import urllib, urllib2, re, os, sys
import xbmc, xbmcplugin, xbmcgui, xbmcaddon
mysettings = xbmcaddon.Addon(id = 'plugin.video.adulthideout')
profile = mysettings.getAddonInfo('profile')
home = mysettings.getAddonInfo('path')
fanart = xbmc.translatePath(os.path.join(home, 'fanart.jpg'))
icon = xbmc.translatePath(os.path.join(home, 'icon.png'))
logos = xbmc.translatePath(os.path.join(home, 'logos\\')) # subfolder for logos
homemenu = xbmc.translatePath(os.path.join(home, 'resources', 'playlists'))
#define webpages in order they were added.
redtube = 'http://www.redtube.com'
xvideos = 'http://www.xvideos.com'
xhamster = 'https://xhamster.com'
vikiporn = 'http://www.vikiporn.com'
tube8 = 'http://www.tube8.com'
pornxs = 'http://pornxs.com'
pornhd = 'http://www.pornhd.com'
lubetube = 'http://lubetube.com/'
porncom = 'http://www.porn.com'
yesxxx = 'http://www.yes.xxx/'
youjizz = 'http://www.youjizz.com'
motherless = 'http://motherless.com'
eporner = 'http://www.eporner.com'
tubepornclassic = 'http://www.tubepornclassic.com'
efukt = 'http://efukt.com/'
pornhub = 'http://pornhub.com'
pornsocket = 'http://pornsocket.com'
hentaigasm = 'http://hentaigasm.com/'
ashemaletube = 'https://www.ashemaletube.com'
youporn = 'http://www.youporn.com'
heavyr = 'http://www.heavy-r.com'
gotporn ='http://www.gotporn.com'
empflix = 'http://www.empflix.com'
txxx ='http://www.txxx.com'
fantasti = 'http://fantasti.cc'
upornia = 'http://upornia.com'
yespornplease = 'http://yespornplease.com'
uflash = 'http://www.uflash.tv'
tubegalore = 'http://www.tubegalore.com'
youav = 'http://www.youav.com'
pornktube = 'http://www.pornktube.com'
javtasty = 'http://www.javtasty.com'
nudeflix = 'http://www.nudeflix.com'
luxuretv = 'http://en.luxuretv.com'
datoporn = 'http://datoporn.com'
def menulist():
try:
mainmenu = open(homemenu, 'r')
content = mainmenu.read()
mainmenu.close()
match = re.compile('#.+,(.+?)\n(.+?)\n').findall(content)
return match
except:
pass
def make_request(url):
try:
req = urllib2.Request(url)
req.add_header('User-Agent', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11')
#req.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36')
response = urllib2.urlopen(req, timeout = 60)
link = response.read()
response.close()
return link
except urllib2.URLError, e:
print 'We failed to open "%s".' % url
if hasattr(e, 'code'):
print 'We failed with error code - %s.' % e.code
elif hasattr(e, 'reason'):
print 'We failed to reach a server.'
print 'Reason: ', e.reason
def home():
add_dir('...[COLOR yellow] Home [/COLOR]...', '', None, icon, fanart)
#define main directory and starting page
def main():
add_dir('A Shemale Tube [COLOR yellow] Videos[/COLOR]', ashemaletube + '/videos/newest/' , 2, logos + 'ashemaletube.png', fanart)
add_dir('Efukt [COLOR yellow] Videos[/COLOR]', efukt, 2, logos + 'efukt.png', fanart)
add_dir('Empflix [COLOR yellow] Videos[/COLOR]', empflix + '/new/' , 2, logos + 'empflix.png', fanart)
#(removing Eporner for now, until i find a solution for it)
#add_dir('Eporner [COLOR yellow] Videos[/COLOR]', eporner + '/0/', 2, logos + 'eporner.png', fanart)
add_dir('Fantasti.cc [COLOR yellow] Videos[/COLOR]', fantasti + '/videos/upcoming/', 2, logos + 'fantasti.png', fanart)
add_dir('Datoporn.com [COLOR yellow] Videos[/COLOR]', datoporn + '/category/films+XXX', 2, logos + 'datoporn.png', fanart)
add_dir('Hentaigasm [COLOR yellow] Videos[/COLOR]', hentaigasm, 2, logos + 'hentaigasm.png', fanart)
add_dir('Heavy-R [COLOR yellow] Videos[/COLOR]', heavyr + '/videos/' , 2, logos + 'heavyr.png', fanart)
add_dir('JavTasty [COLOR yellow] Videos[/COLOR]', javtasty + '/videos?page=1', 2, logos + 'javtasty.png', fanart)
add_dir('LubeTube [COLOR yellow] Videos[/COLOR]', lubetube + 'view', 2, logos + 'lubetube.png', fanart)
add_dir('LuxureTV [COLOR yellow] Videos[/COLOR]', luxuretv + '/page1.html', 2, logos + 'luxuretv.png', fanart)
add_dir('Motherless [COLOR yellow] Videos[/COLOR]', motherless + '/videos/recent?page=1', 2, logos + 'motherless.png', fanart)
add_dir('Nudeflix [COLOR yellow] Videos[/COLOR]', nudeflix + '/browse/cover?order=released', 2, logos + 'nudeflix.png', fanart)
add_dir('PornCom [COLOR yellow] Videos[/COLOR]', porncom + '/videos?p=1', 2, logos + 'porncom.png', fanart)
add_dir('PornHD [COLOR yellow] Videos[/COLOR]', pornhd, 2, logos + 'pornhd.png', fanart)
add_dir('PornHub [COLOR yellow] Videos[/COLOR]', pornhub +'/video?o=cm', 2, logos + 'pornhub.png', fanart)
add_dir('PornkTube [COLOR yellow] Videos[/COLOR]', pornktube , 2, logos + 'pornktube.png', fanart)
# (removing pornsocket, till i find out how to handle this Error code 22)
#add_dir('Pornsocket [COLOR yellow] Videos[/COLOR]', pornsocket + '/media-gallery.html?display=list&filter_mediaType=4&limitstart=0', 2, logos + 'pornsocket.png', fanart)
add_dir('PornXS [COLOR yellow] Videos[/COLOR]', pornxs + '/browse/sort-time/', 2, logos + 'pornxs.png', fanart)
add_dir('RedTube [COLOR yellow] Videos[/COLOR]', redtube + '/?page=1', 2, logos + 'redtube.png', fanart)
add_dir('Tube8 [COLOR yellow] Videos[/COLOR]', tube8 + '/newest.html', 2, logos + 'tube8.png', fanart)
add_dir('Tubegalore [COLOR yellow] Videos[/COLOR]', tubegalore + '/new?orientation=straight-and-shemale', 2, logos + 'tubegalore.png', fanart)
add_dir('Tubepornclassic [COLOR yellow] Videos[/COLOR]', tubepornclassic + '/latest-updates/', 2, logos + 'tpc.png', fanart)
add_dir('Txxx [COLOR yellow] Videos[/COLOR]', txxx + '/latest-updates/', 2, logos + 'txxx.png', fanart)
add_dir('Uflash.TV [COLOR yellow] Videos[/COLOR]', uflash + '/videos?o=mr&type=public', 2, logos + 'uflash.png', fanart)
add_dir('Upornia [COLOR yellow] Videos[/COLOR]', upornia + '/latest-updates/', 2, logos + 'upornia.png', fanart)
add_dir('ViKiPorn [COLOR yellow] Videos[/COLOR]', vikiporn + '/latest-updates/', 2, logos + 'vikiporn.png', fanart)
add_dir('xHamster [COLOR yellow] Videos[/COLOR]', xhamster, 2, logos + 'xhamster.png', fanart)
add_dir('Xvideos [COLOR yellow] Videos[/COLOR]', xvideos , 2, logos + 'xvideos.png', fanart)
add_dir('YesPornPlease [COLOR yellow] Videos[/COLOR]', yespornplease + '/?s=date', 2, logos + 'yespornplease.png', fanart)
add_dir('Yes XXX [COLOR yellow] Videos[/COLOR]', yesxxx + '?s=recent', 2, logos + 'yes.png', fanart)
add_dir('YouJizz [COLOR yellow] Videos[/COLOR]', youjizz + '/newest-clips/1.html', 2, logos + 'youjizz.png', fanart)
add_dir('YouPorn [COLOR yellow] Videos[/COLOR]', youporn + '/browse/time/', 2, logos + 'youporn.png', fanart)
#Search part. Add url + search expression + searchtext
def search():
try:
keyb = xbmc.Keyboard('', '[COLOR yellow]Enter search text[/COLOR]')
keyb.doModal()
if (keyb.isConfirmed()):
searchText = urllib.quote_plus(keyb.getText())
if 'ashemaletube' in name:
url = ashemaletube + '/search/' + searchText + '/page1.html'
start(url)
elif 'efukt' in name:
url = efukt + '/search/' + searchText + '/'
start(url)
elif 'eporner' in name:
url = eporner + '/search/' + searchText
start(url)
elif 'hentaigasm' in name:
url = hentaigasm + '/?s=' + searchText
start(url)
elif 'heavy-r' in name:
url = heavyr + '/free_porn/' + searchText + '.html'
start(url)
elif 'lubetube.com' in name:
url = lubetube + 'search/title/' + searchText.replace('+', '_') + '/'
start(url)
elif 'motherless' in name:
if 'Groups' in name:
url = motherless + '/search/groups?term=' + searchText + '&member=&sort=date&range=0&size=0'
motherless_groups_cat(url)
if 'Galleries' in name:
url = motherless + '/search/Galleries?term=' + searchText + '&member=&sort=date&range=0&size=0'
motherless_galeries_cat(url)
else:
url = motherless + '/term/videos/' + searchText
start(url)
elif 'fantasti' in name:
if 'collections' in name:
url = 'http://fantasti.cc/search/' + searchText + '/collections/trending/'
fantasti_collections(url)
else:
url = 'http://fantasti.cc/search/' + searchText + '/tube/popular/'
start(url)
elif '.porn.com' in name:
url = porncom + '/videos/search?q=' + searchText
start(url)
elif 'pornhd.com' in name:
url = pornhd + '/search?search=' + searchText
start(url)
elif 'pornhub' in name:
url = pornhub + '/video/search?search=' + searchText
start(url)
elif 'pornsocket' in name:
url = pornsocket + '/media-gallery.html?filter_search=&filter_tag=' + searchText
start(url)
elif 'pornxs' in name:
url = 'http://pornxs.com/search.php?s=' + searchText
start(url)
elif 'redtube.com' in name:
url = redtube + '/?search=' + searchText
start(url)
elif 'tube8.com' in name:
url = tube8 + '/searches.html?q=' + searchText
start(url)
elif 'tubepornclassic' in name:
url = 'http://www.tubepornclassic.com/search/' + searchText + '/'
start(url)
elif 'vikiporn.com' in name:
url = vikiporn + '/search/?q=' + searchText
start(url)
elif 'xhamster.com' in name:
url = xhamster + '/search.php?qcat=video&q=' + searchText
start(url)
elif 'xvideos.com' in name:
url = xvideos + '/?k=' + searchText
start(url)
elif 'yes.xxx' in name:
url = yesxxx + '?s=search&search=' + searchText
start(url)
elif 'youjizz.com' in name:
url = youjizz + '/srch.php?q=' + searchText
start(url)
elif 'youporn' in name:
url = youporn + '/search/?query=' + searchText
start(url)
elif 'empflix' in name:
url = empflix + '/search.php?what=' + searchText
start(url)
elif 'txxx' in name:
url = txxx + '/search/?s=' + searchText
start(url)
elif 'upornia' in name:
url = upornia + '/search/?q=' + searchText
start(url)
elif 'yespornplease' in name:
url = 'http://yespornplease.com/search?q=' + searchText
start(url)
elif '.uflash.tv' in name:
url = uflash + '/search?search_type=videos&search_query=' + searchText
start(url)
elif 'tubegalore' in name:
url = tubegalore + '/search/?q=' + searchText
start(url)
elif 'pornktube' in name:
url = pornktube + '/search/?q=' + searchText
start(url)
elif '.javtasty.com' in name:
url = 'http://www.javtasty.com/search?search_query=' + searchText + '&search_type=videos'
start(url)
elif 'nudeflix' in name:
url = nudeflix +'/search/'+ searchText
start(url)
elif 'luxuretv' in name:
url = luxuretv + '/search/videos/' + searchText + '/'
start(url)
elif 'datoporn' in name:
url = datoporn + '/?k=' + searchText + '&op=search'
start(url)
except:
pass
def start(url):
home()
if 'ashemaletube' in url:
add_dir('[COLOR lightgreen]ashemaletube.com [COLOR red]Search[/COLOR]', ashemaletube, 1, logos + 'ashemaletube.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', ashemaletube + '/tags/', 30, logos + 'ashemaletube.png', fanart)
add_dir('[COLOR lime]Models[/COLOR]', ashemaletube + '/models/', 55, logos + 'ashemaletube.png', fanart)
content = make_request(url)
if 'model' in url:
match = re.compile('<div class="thumb vidItem" data-video-id=".+?">.+?<a href="([^"]*)">.+?src="([^"]*)" alt="([^"]*)".+?<span class="fs11 viddata flr"(.+?)>', re.DOTALL).findall(content)
for url, thumb, name, dummy in match:
name = name.replace('&', '&')
if 'HD' in dummy:
add_link(name + '[COLOR yellow]' +' [HD]' +'[/COLOR]', url, 4, thumb, fanart)
else:
add_link(name, url, 4, thumb, fanart)
else:
match = re.compile('<div class="thumb vidItem" data-video-id=".+?">.+?<a href="([^"]*)">.+?src="([^"]*)" alt="([^"]*)".+?<span class="fs11 viddata flr"(.+?)>([:\d]+)</span>', re.DOTALL).findall(content)
for url, thumb, name, dummy, duration in match:
name = name.replace('&', '&')
if 'HD' in dummy:
add_link(name + '[COLOR yellow]' +' [HD]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
else:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
try:
match = re.compile('<link rel="next" href="(.+?)" />').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', ashemaletube + match[0], 2, logos + 'ashemaletube.png', fanart)
except:
match = re.compile('<a class="pageitem rightKey" href="(.+?)" title="Next">Next</a>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', ashemaletube + match[0], 2, logos + 'ashemaletube.png', fanart)
elif 'efukt' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]efukt.com [COLOR red]Search[/COLOR]', efukt, 1, logos + 'efukt.png', fanart)
match = re.compile('<a href="([^"]*)" title="([^"]*)" class="thumb"><img src="([^"]*)"').findall(content)
for url, name, thumb in match:
name = name.replace('&', '&').replace('"', '"').replace(''', '\'')
add_link(name, url , 4, thumb, fanart)
try:
match = re.compile('<a href="([^"]*)"><i class="fa fa-arrow-right"></i></a>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', efukt + match[0], 2, logos + 'efukt.png', fanart)
except:
pass
elif 'empflix' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]empflix.com [COLOR red]Search[/COLOR]', empflix, 1, logos + 'empflix.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', empflix + '/categories.php', 45, logos + 'empflix.png', fanart)
add_dir('[COLOR lime]Sorting[/COLOR]', empflix + '/browse.php?category=mr', 46, logos + 'empflix.png', fanart)
match = re.compile("<a class='thumb no_ajax' href='(.+?)'.+?data-original='(.+?)' alt=\"(.+?)\"><div class='videoDuration'>(.+?)</div>", re.DOTALL).findall(content)
for url, thumb, name, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', empflix + url , 4, thumb, fanart)
try:
match = re.compile('<a class="llNav" href="([^"]+)">').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', empflix + match[0], 2, logos + 'empflix.png', fanart)
except:
pass
elif 'eporner' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]eporner.com [COLOR red]Search[/COLOR]', eporner, 1, logos + 'eporner.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', eporner + '/categories/', 21, logos + 'eporner.png', fanart)
match = re.compile('<a href="([^"]*)" title="([^"]*)".+?src="([^"]*)".+?<div class="mbtim">(.+?)</div>', re.DOTALL).findall(content)
for url, name, thumb, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', eporner + url, 4, thumb, fanart)
try:
match = re.compile("<a href='([^']*)' title='Next page'>").findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', eporner + match[0], 2, logos + 'eporner.png', fanart)
except:
match = re.compile('<a href="([^"]*)" title="Next page">').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', eporner + match[0], 2, logos + 'eporner.png', fanart)
elif 'datoporn.com' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]datoporn.com [COLOR red]Search[/COLOR]', datoporn, 1, logos + 'datoporn.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', datoporn + '/categories_all', 69, logos + 'datoporn.png', fanart)
match = re.compile('url\(\'(.+?)\'\) no-repeat;"><span>([:\d]+)</span></a>.+?<div colspan=2 class="vb_title"><a href="http://datoporn.com/(.+?)" class="link"><b>(.+?)</b></a></div>', re.DOTALL).findall(content)
for thumb, duration, url, name in match:
thumb = thumb.replace('(\'','').replace(')','')
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', 'http://datoporn.com/embed-' + url + '.html', 4, thumb, fanart)
try:
match = re.compile("<a href='([^']+)'>Next").findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0], 2, logos + 'datoporn.png', fanart)
except:
pass
elif 'fantasti' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]fantasti.cc [COLOR red]Search[/COLOR]', fantasti, 1, logos + 'fantasti.png', fanart)
add_dir('[COLOR lime]Collection[/COLOR]', fantasti + '/videos/collections/popular/31days/', 48, logos + 'fantasti.png', fanart)
add_dir('[COLOR lime]Category [/COLOR]', fantasti + '/category/', 18, logos + 'fantasti.png', fanart)
add_dir('[COLOR lime]Sorting [/COLOR]', fantasti + '/videos/popular/today/', 49, logos + 'fantasti.png', fanart)
try:
if '#collectionSubmittedVideos' in url:
match = re.compile('data-vertical-gallery-src="([^"]+)">.+?alt="([^"]+)" src="([^"]+)">', re.DOTALL).findall(content)
for url, name, thumb in match:
url = fantasti + url
content2 = make_request(url)
match = re.compile('<link rel="canonical" href="([^"]*)" />', re.DOTALL).findall(content2)
for url in match:
add_link(name, url, 4, thumb, fanart)
if '/search/' in url:
match = re.compile('<div class="searchVideo">.+?<a href="/watch/(.+?)/(.+?)/" >.+?<img src="(.+?)"', re.DOTALL).findall(content)
for url, name, thumb in match:
url = fantasti + '/watch/' + '/' + url + '/'+ '/' + name + '/'
name = name.replace('&', '&').replace('"', '"').replace(''', '\'').replace('-', ' ')
add_link(name, url, 4, thumb, fanart)
if '/category/' in url:
match = re.compile('<span class="v_lenght">(.+?)</span>.+?<a href="/watch/([^"]+)".+?<img alt="([^"]+)" src="([^"]+)" ', re.DOTALL).findall(content)
for duration, url, name, thumb in match:
name = name.replace('&', '&').replace('"', '"').replace(''', '\'').replace(' ', '')
url = fantasti + '/watch/' + url
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
else:
match = re.compile('<a href="([^"]+)"><img src="([^"]+)" alt="([^"]+)".+? <span style="font-size:11px;">\s*(.+?). Uploaded:', re.DOTALL).findall(content)
for url, thumb, name, duration in match:
name = name.replace('&', '&').replace('"', '"').replace(''', '\'').replace(' ', '')
url = fantasti + url
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
except:
pass
try:
match = re.compile('<a href="([^"]+)">next >>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', fantasti + match[0], 2, logos + 'fantasti.png', fanart)
except:
pass
elif 'hentaigasm' in url:
add_dir('[COLOR lime]hentaigasm [COLOR red]Search[/COLOR]', hentaigasm, 1, logos + 'hentaigasm.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', hentaigasm, 29, logos + 'hentaigasm.png', fanart)
content = make_request(url)
match = re.compile('title="(.+?)" href="(.+?)">\s*\s*.+?\s*\s*.+?<img src="(.+?)"').findall(content)
for name, url, thumb in match:
thumb = thumb.replace(' ', '%20')
if "Raw" in name :
add_link('[COLOR lime] [Raw] [/COLOR]' + name, url, 4, thumb, fanart)
else :
add_link('[COLOR yellow] [Subbed] [/COLOR]' + name, url, 4, thumb, fanart)
try:
match = re.compile("<a href='([^']*)' class=\"next\">»").findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0], 2, logos + 'hentaigasm.png', fanart)
except:
pass
elif 'heavy-r' in url:
add_dir('[COLOR lightgreen]heavy-r [COLOR red]Search[/COLOR]', heavyr, 1, logos + 'heavyr.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', heavyr + '/categories/', 33, logos + 'heavyr.png', fanart)
content = make_request(url)
match = re.compile('<a href="([^"]+)" class="image">.+?src="([^"]+)".+?alt="([^"]+)".+?<span class="duration"><i class="fa fa-clock-o"></i> ([\d:]+)</span>', re.DOTALL).findall(content)
for url, thumb, name, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', heavyr + url, 4, thumb, fanart)
try:
match = re.compile('<a href="([^"]*)">Next</a>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', heavyr + match[0], 2, logos + 'heavyr.png', fanart)
except:
pass
elif 'javtasty' in url:
content = make_request(url)
add_dir('[COLOR lightgreen].javtasty.com [COLOR red]Search[/COLOR]', javtasty, 1, logos + 'javtasty.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', javtasty + '/categories', 64, logos + 'javtasty.png', fanart)
match = re.compile('href="/video/(.+?)">.+?data-original="(.+?)" title="(.+?)"', re.DOTALL).findall(content)
for url, thumb, name in match:
add_link(name, javtasty + '/video/' + url, 4, thumb, fanart)
try:
match = re.compile('<a href="([^"]*)" class="prevnext">Next page').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0], 2, logos + 'javtasty.png', fanart)
except:
pass
elif 'lubetube' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]lubetube.com [COLOR red]Search[/COLOR]', lubetube, 1, logos + 'lubetube.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', lubetube + 'categories', 15, logos + 'lubetube.png', fanart)
add_dir('[COLOR lime]Pornstars[/COLOR]', lubetube + 'pornstars', 12, logos + 'lubetube.png', fanart)
match = re.compile('href="(.+?)" title="(.+?)"><img src="(.+?)".+?Length: (.+?)<').findall(content)
for url, name, thumb, duration in match:
add_link(name + '[COLOR lime] (' + duration + ')[/COLOR]', url, 4, thumb, fanart)
try:
match = re.compile('<a class="next" href="([^"]*)">Next</a>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', lubetube + match[0], 2, logos + 'lubetube.png', fanart)
except:
pass
elif 'luxuretv' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]luxuretv.com [COLOR red]Search[/COLOR]', luxuretv, 1, logos + 'luxuretv.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', luxuretv + '/channel.php', 68, logos + 'luxuretv.png', fanart)
match = re.compile('<a href="([^"]*)"><img class="img" src="(.+?)" alt="(.+?)".+?<div class="time"><b>([\d:]+)</b></div>', re.DOTALL).findall(content)
for url, thumb, name, duration in match:
add_link(name + '[COLOR lime] (' + duration + ')[/COLOR]', url, 4, thumb, fanart)
try:
match = re.compile('a href=\'([^"]*)\'>Next').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', luxuretv + '/' + match[0], 2, logos + 'luxuretv.png', fanart)
except:
pass
elif 'motherless' in url:
content = make_request(url)
###Search in def search(): and media_list(url)
add_dir('[COLOR lightgreen]motherless.com [COLOR red]Search[/COLOR]', motherless, 1, logos + 'motherless.png', fanart)
####Subfolders
add_dir('[COLOR lime]Being watched now[/COLOR]', motherless + '/live/videos', 61, logos + 'motherless.png', fanart)
add_dir('[COLOR lime]Sorting[/COLOR]', motherless + '/videos/', 44, logos + 'motherless.png', fanart)
add_dir('[COLOR magenta]Galleries[/COLOR]', motherless + '/galleries/updated?page=1', 60, logos + 'motherless.png', fanart)
add_dir('[COLOR magenta]Groups[/COLOR]', motherless + '/groups?s=u', 62, logos + 'motherless.png', fanart)
###sending video URL to resolve_url(url)
match = re.compile('data-frames="12">.+?<a href="([^"]+)".+?src="([^"]+)".+?alt="([^"]+)".+?caption left">([:\d]+)</div>', re.DOTALL).findall(content)
for url, thumb, name, duration in match:
name = name.replace('Shared by ', '').replace('"', '"').replace(''', '\'')
if 'motherless' in url:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
else:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', motherless + url, 4, thumb, fanart)
###Next Button
try :
match = re.compile('<a href="([^"]*)" class="pop" rel="[1-9999]">NEXT »</a></div>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', motherless + match[0], 2, logos + 'motherless.png', fanart)
except:
pass
elif 'nudeflix' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]nudeflix.com [COLOR red]Search[/COLOR]', nudeflix, 1, logos + 'nudeflix.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', nudeflix, 66, logos + 'nudeflix.png', fanart)
add_dir('[COLOR lime]Sorting[/COLOR]', nudeflix + '/browse/cover?order=released' , 67, logos + 'nudeflix.png', fanart)
match = re.compile('<img src="http://([^"]+)" alt="([^"]+)".+?<a href="([^"]+)" class="dvd-info hidden-xs">', re.DOTALL).findall(content)
for thumb, name, url in match:
add_dir(name, nudeflix + url, 65, 'http://' + thumb, fanart)
try :
match = re.compile('<a href="([^"]*)amp;([^"]*)">\s*<strong>next »</strong>').findall(content)
for url, dummy in match:
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', nudeflix + url + dummy, 2, logos + 'nudeflix.png', fanart)
except:
pass
elif '.porn.com' in url:
content = make_request(url)
add_dir('[COLOR lightblue].porn.com [COLOR red]Search[/COLOR]', porncom, 1, logos + 'porncom.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', porncom, 14, logos + 'porncom.png', fanart)
add_dir('[COLOR lime]HD Porn[/COLOR]', porncom + '/videos/hd', 2, logos + 'porncom.png', fanart)
match = re.compile('class="thumb"><img src="([^"]*)"(.+?)<a href="/videos/(.+?)" class="title">(.+?)</a><span class="added">(.+?)</span><span class="rating">.+?<i class="icon-thumbs-up">', re.DOTALL).findall(content)
for thumb, dummy, url, name, duration in match:
if 'hd' in dummy:
add_link(name + '[COLOR yellow]' +' [HD]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', porncom + '/videos/' + url, 4, thumb, fanart)
else:
add_link(name + '[COLOR lime]('+ duration + ')[/COLOR]', porncom + '/videos/' + url, 4, thumb, fanart)
try :
match = re.compile('</span><a href="([^"]*)" class="btn nav">Next').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', porncom + match[0], 2, logos + 'porncom.png', fanart)
except:
pass
elif 'pornhd' in url:
add_dir('[COLOR lightgreen]pornhd.com [COLOR red]Search[/COLOR]', pornhd, 1, logos + 'pornhd.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', pornhd + '/category', 19, logos + 'pornhd.png', fanart)
add_dir('[COLOR lime]Pornstars[/COLOR]', pornhd + '/pornstars?order=video_count&gender=female', 20, logos + 'pornhd.png', fanart)
content = make_request(url)
match = re.compile('<a class="thumb" href="(.+?)".+?<img alt="(.+?)".+?src="(.+?)".+?<time>(.+?)</time>', re.DOTALL).findall(content)
for url, name, thumb, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', pornhd + url, 4, thumb, fanart)
try:
match = re.compile('<link rel="next" href="([^"]*)" />').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', pornhd + match[0], 2, logos + 'pornhd.png', fanart)
except:
pass
elif 'pornhub' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]pornhub.com [COLOR red]Search[/COLOR]', pornhub, 1, logos + 'pornhub.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', pornhub + '/categories', 25, logos + 'pornhub.png', fanart)
match = re.compile('<li class="videoblock videoBox" id=".+?" _vkey="(.+?)" >.+?<a href="([^"]+)" title="([^"]+)".+?<var class="duration">([^<]+)</var>(.+?)</div>.*?data-mediumthumb="([^"]+)"', re.DOTALL).findall(content)
for dummy2, url, name, duration, dummy, thumb in match:
if 'HD' in dummy:
#Pornhub changed their page again. Keeping this alternative way.
add_link(name + '[COLOR yellow]' +' [HD]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', 'https://www.pornhub.com/embed/' + dummy2, 4, thumb, fanart)
#add_link(name + '[COLOR yellow]' +' [HD]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', pornhub + url, 4, thumb, fanart)
else:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', 'https://www.pornhub.com/embed/' + dummy2, 4, thumb, fanart)
#try:
# match = re.compile('<li class="page_next"><a href="([^"]+)" class="orangeButton">Next</a></li>').findall(content)
# add_dir('[COLOR blue]Next Page >>>>[/COLOR]', pornhub + match[0].replace('&','&'), 2, logos + 'pornhub.png', fanart)
#except:
# pass
elif 'pornktube' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]pornktube.com [COLOR red]Search[/COLOR]', pornktube, 1, logos + 'pornktube.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', pornktube, 63, logos + 'pornktube.png', fanart)
match = re.compile('<a href="([^"]+)"><img src="([^"]+)" alt="([^"]+)".+?<div class="vlength">([^<]+)</div>', re.DOTALL).findall(content)
for url, thumb, name, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', pornktube + url, 4, thumb, fanart)
try:
match = re.compile('<a href="([^"]+)" class="mpages">Next »</a>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', pornktube + match[0], 2, logos + 'pornktube.png', fanart)
except:
pass
elif 'pornsocket' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]pornsocket.com [COLOR red]Search[/COLOR]', pornsocket, 1, logos + 'pornsocket.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', pornsocket + '/categories-media.html', 26, logos + 'pornsocket.png', fanart)
match = re.compile('<div class="media-duration">\s*([^<]+)</div>\s*<a href="([^"]+)"> <img src="([^"]+)" border="0" alt="([^"]+)"').findall(content)
for duration, url, thumb, name in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', pornsocket + url, 4, pornsocket + thumb, fanart)
match = re.compile('><a title="Next" href="([^"]+)" class="pagenav">Next</a>', re.DOTALL).findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', pornsocket + match[0].replace('&','&'), 2, logos + 'pornsocket.png', fanart)
elif 'pornxs' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]pornxs.com [COLOR red]Search[/COLOR]', pornxs, 1, logos + 'pornxs.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', pornxs + '/new-categories/?mode=static&width=wide', 39, logos + 'pornxs.png', fanart)
match = re.compile('<a href="([^"]+).html".+?<img src="([^"]+)".+?alt="([^"]+)".+?<div class="time">([:\d]+)<', re.DOTALL).findall(content)
for url, thumb, name, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', pornxs + url + '.html', 4, thumb, fanart)
try:
match = re.compile('<a class="pagination-next" href="([^"]*)"><span></span></a></li> ').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', pornxs + match[0], 2, logos + 'pornxs.png', fanart)
except:
pass
elif 'redtube' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]redtube.com [COLOR red]Search[/COLOR]', redtube, 1, logos + 'redtube.png', fanart)
add_dir('[COLOR lime]Sorting[/COLOR]', redtube , 8, logos + 'redtube.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', redtube + '/categories', 9, logos + 'redtube.png', fanart)
add_dir('[COLOR lime]Channels[/COLOR]', redtube + '/channel/recently-updated', 10, logos + 'redtube.png', fanart)
match = re.compile('<a href="([^"]+)" title="([^"]+)" class="video-thumb".+?<span class="video-duration">.+?([:\d]+).+?</span>.+?data-src="([^"]+)".+?alt=".+?"(.+?)</a>', re.DOTALL).findall(content)
for url, name, duration, thumb, dummy in match:
name = name.replace(''', ' ').replace('&', '&').replace('"', '"').replace(' ', '')
if 'hd' in dummy:
add_link(name + '[COLOR yellow]' +' [HD]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', redtube + url, 4, 'http:' + thumb, fanart)
else:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', redtube + url, 4, 'http:' + thumb, fanart)
try:
match = re.compile('rel="next" href="([^"]+)">').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0], 2, logos + 'redtube.png', fanart)
except:
pass
elif 'tube8' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]tube8.com [COLOR red]Search[/COLOR]', tube8, 1, logos + 'tube8.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', tube8 + '/categories.html', 22, logos + 'tube8.png', fanart)
match = re.compile('class="thumb_box">.+?<a href="([^"]+)"(.+?)src="([^"]+)" alt="([^"]+)".+?video_duration">([:\d]+)</div>', re.DOTALL).findall(content)
for url, dummy, thumb, name, duration in match:
name = name.replace(''', ' ').replace('&', '&').replace('"', '"').replace(' ', '')
if 'hdIcon' in dummy:
add_link(name + '[COLOR yellow]' +' [HD]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
else:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
match = re.compile('<link rel="next" href="([^"]*)">').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0], 2, logos + 'tube8.png', fanart)
elif 'tubegalore' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]tubegalore.com [COLOR red]Search[/COLOR]', tubegalore, 1, logos + 'tubegalore.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', tubegalore , 53, logos + 'tubegalore.png', fanart)
match = re.compile('<span class="source">(.+?)</span>.+?href="/out/?.+?http(.+?)" target="_blank" title="(.+?)">.+?<img src="(.+?)".+?<span class="length">(.+?)</span>', re.DOTALL).findall(content)
for dummy, url, name, thumb, duration in match:
url = url.replace('%3A', ':').replace('%2F', '/').replace('%3F', '?').replace('%3D', '=').replace('%26', '&')
dummy = dummy.replace('</a>', '')
if 'GotPorn' in dummy :
pass
elif 'porn.porn' in dummy:
pass
elif 'PornXOom' in dummy:
pass
elif 'PorndoePremium' in dummy:
pass
elif 'BonerTube' in dummy:
pass
elif 'Gay' in name:
pass
elif 'Gay' in dummy:
pass
elif 'Beeg' in dummy:
pass
elif 'Fantasti.cc' in dummy:
pass
elif 'MenHDV' in dummy:
pass
elif 'Homosexual' in dummy:
pass
elif 'BoyfriendTV' in dummy:
pass
elif 'Jock' in dummy:
pass
else:
add_link(name + ' [COLOR lime]('+ duration +')[/COLOR]' ' [COLOR yellow]['+ dummy +'][/COLOR]', 'http' + url, 4, thumb, fanart)
try:
match = re.compile('<a href="([^"]+)"><i class="fa fa-chevron-right"></i></a>', re.DOTALL).findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', tubegalore + match[0], 2, logos + 'tubegalore.png', fanart)
except:
pass
elif 'tubepornclassic' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]Tubepornclassic [COLOR red]Search[/COLOR]', tubepornclassic, 1, logos + 'tubepornclassic.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', tubepornclassic + '/categories/', 38, logos + 'tubepornclassic.png', fanart)
match = re.compile('<div class="item ">.+?<a href="([^"]+)" title="([^"]+)".*?original="([^"]+)".*?duration">([^<]+)<', re.DOTALL).findall(content)
for url, name, thumb, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
try:
match = re.compile('<a href="([^"]*)" data-action=".+?" data-container-id=".+?" data-block-id=".+?" data-parameters=".+?" title=\"Next Page\">Next</a>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', tubepornclassic + match[0], 2, logos + 'tubepornclassic.png', fanart)
except:
pass
elif 'txxx' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]txxx [COLOR red]Search[/COLOR]', txxx, 1, logos + 'txxx.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', txxx + '/categories/' , 47, logos + 'txxx.png', fanart)
match = re.compile('<a href="([^"]+)" class="js-thumb-pagination".+?<img src="([^"]+)" alt="([^"]+)"(.+?)<div class="thumb-pagination">.+?<div class="thumb__duration">([^<]+)</div>', re.DOTALL).findall(content)
for url, thumb, name, dummy, duration in match:
if 'HD' in dummy:
add_link(name + '[COLOR yellow]' +' [HD]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
else:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
try:
match = re.compile('<a class=" btn btn--size--l btn--next" href="([^"]+)" title="Next Page"').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', txxx + match[0], 2, logos + 'txxx.png', fanart)
except:
pass
elif '.uflash.tv' in url:
content = make_request(url)
add_dir('[COLOR lightgreen].uflash.tv [COLOR red]Search[/COLOR]', uflash, 1, logos + 'uflash.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', uflash + '/videos?o=mr', 54, logos + 'uflash.png', fanart)
add_dir('[COLOR magenta]Female Exhibitionist Videos[/COLOR]', uflash + '/videos?g=female&o=mr', 2, logos + 'uflash.png', fanart)
add_dir('[COLOR magenta]Male Exhibitionist Videos[/COLOR]', uflash + '/videos?g=male&o=mr', 2, logos + 'uflash.png', fanart)
add_dir('[COLOR magenta]Recently Viewed - Exhibitionist Videos[/COLOR]', uflash + '/videos?o=bw', 2, logos + 'uflash.png', fanart)
match = re.compile('<a href="/video/(.+?)/.+?title="(.+?)">.+?<img src="(.+?)".+?<span class="duration">([^<]+)</span>', re.DOTALL).findall(content)
for url, name, thumb, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', 'http://www.uflash.tv/media/player/config.v89x.php?vkey=' + url, 4, uflash + thumb, fanart)
try:
match = re.compile('<a href="([^"]+)" class="prevnext">Next»</a>', re.DOTALL).findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0], 2, logos + 'uflash.png', fanart)
except:
pass
elif 'upornia' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]upornia [COLOR red]Search[/COLOR]', upornia, 1, logos + 'upornia.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', upornia + '/categories/', 50, logos + 'upornia.png', fanart)
add_dir('[COLOR lime]Models[/COLOR]', upornia + '/models/', 51, logos + 'upornia.png', fanart)
match = re.compile('class="thumbnail thumbnail-pagination" href="([^"]*)".+?<img src="([^"]*)"alt="([^"]*)".+?class="thumbnail__info__right">([:\d]+)</div>', re.DOTALL).findall(content)
for url, thumb, name, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
try:
match = re.compile('<li class="next">.+?<a href="(.+?)"', re.DOTALL).findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', upornia + match[0], 2, logos + 'upornia.png', fanart)
except:
pass
elif 'vikiporn' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]vikiporn.com [COLOR red]Search[/COLOR]', vikiporn, 1, logos + 'vikiporn.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', vikiporn + '/categories/', 16, logos + 'vikiporn.png', fanart)
match = re.compile('<a href="(.+?)">\s*<div class=".+?">\s*<img style=".+?" class=".+?" src=".+?" data-original="(.+?)" alt="(.+?)" onmouseover=".+?" onmouseout=".+?">\s*<span class=".+?">(.+?)</span>').findall(content)
for url, thumb, name, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', url, 4, thumb, fanart)
match = re.compile('<a href="([^"]*)">NEXT</a>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', vikiporn + match[0], 2, logos + 'vikiporn.png', fanart)
elif 'xhamster' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]xhamster.com [COLOR red]Search[/COLOR]', xhamster, 1, logos + 'xhamster.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', xhamster, 17, logos + 'xhamster.png', fanart)
add_dir('[COLOR lime]Rankings[/COLOR]', xhamster + '/rankings/weekly-top-viewed.html' , 42, logos + 'xhamster.png', fanart)
add_dir('[COLOR lime]Change Content[/COLOR]', xhamster , 24, logos + 'xhamster.png', fanart)
match = re.compile('><a href="https://xhamster.com/movies/(.+?)".+?<img src=\'(.+?)\'.+?alt="([^"]*)".+?<b>(.+?)</b>.+?<div class="(.+?)"', re.DOTALL).findall(content)
for url, thumb, name, duration, dummy in match:
name = name.replace('&', '&').replace('"', '"').replace(''', '\'')
if '?from=video_promo' in url:
pass
if 'hSpriteHD' in dummy:
add_link(name + '[COLOR yellow]' +' [HD]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', 'http://xhamster.com/movies/' + url, 4, thumb, fanart)
else:
add_link(name + ' [COLOR lime]('+ duration +')[/COLOR]', 'http://xhamster.com/movies/' + url, 4, thumb, fanart)
match = re.compile('<div id="cType"><div class="([^"]*)"></div>').findall(content)
if "iconL iconTrans" in match :
match = re.compile('<link rel="next" href="([^"]*)"><link rel="dns-prefetch"').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0] + '?content=shemale', 2, logos + 'xhamster.png', fanart)
if "iconL iconGays" in match :
match = re.compile('<link rel="next" href="([^"]*)"><link rel="dns-prefetch"').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0] + '?content=gay', 2, logos + 'xhamster.png', fanart)
if "iconL iconStraight" in match :
match = re.compile('<link rel="next" href="([^"]*)"><link rel="dns-prefetch"').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0] + '?content=straight', 2, logos + 'xhamster.png', fanart)
try:
match = re.compile('<a href=\'(.+?)\' class=\'last\' overicon=\'iconPagerNextHover\'><div class=\'icon iconPagerNext\'>').findall(content)
match = [item.replace('&', '&') for item in match]
for url in match:
if "search" in url:
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0] , 2, logos + 'xhamster.png', fanart)
else:pass
except:
pass
elif 'xvideos' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]xvideos.com [COLOR red]Search[/COLOR]', xvideos, 1, logos + 'xvideos.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', xvideos, 27, logos + 'xvideos.png', fanart)
add_dir('[COLOR lime]Pornstars[/COLOR]', xvideos + '/pornstars/popular', 32, logos + 'xvideos.png', fanart)
if 'profiles' in url:
match = re.compile('<a href="([^"]*)"><img src="([^"]+)"(.+?)title="([^"]*)".+?<strong>(.+?)</strong>', re.DOTALL).findall(content)
for url, thumb, dummy, name, duration in match:
name = name.replace('&', '&').replace('"', '"').replace(''', '`')
url = url.replace('THUMBNUM/','')
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', xvideos + url, 4, thumb, fanart)
else:
match = re.compile('<a href="([^"]*)"><img src="([^"]+)"(.+?)<a href="(.+?)" title="([^"]*)".+?<strong>(.+?)</strong>', re.DOTALL).findall(content)
for url, thumb, dummy, url, name, duration in match:
name = name.replace('&', '&').replace('"', '"').replace(''', '`')
url = url.replace('THUMBNUM/','')
if '>HD+<' in dummy:
add_link(name + '[COLOR yellow]' +' [1080p]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', xvideos + url, 4, thumb, fanart)
elif '>HD<' in dummy:
add_link(name + '[COLOR yellow]' +' [720p]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', xvideos + url, 4, thumb, fanart)
else:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', xvideos + url, 4, thumb, fanart)
try:
match = re.compile('href="([^"]+)" class="no-page">Next').findall(content)
match = [item.replace('&', '&') for item in match]
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', xvideos + match[0], 2, logos + 'xvideos.png', fanart)
except:
pass
elif 'youav' in url:
add_dir('[COLOR blue]Can\'t see text? Turn your skin font to arial based[/COLOR]', youav, 2, logos + 'youav.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', youav + '/categories', 34, logos + 'youav.png', fanart)
content = make_request(url)
match = re.compile('<a href="/video/(.+?)/.+?>.+?<div class=".+?">.+?<img src="(.+?)" onerror="this.src=\'images/404sub.jpg\'" title="(.+?)".+?<div class="duration">.+?([:\d]+).+?</div>', re.DOTALL).findall(content)
for url, thumb, name, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', 'http://www.youav.com/load.php?pid=' + url, 4, thumb, fanart)
try:
match = re.compile('<a href="([^"]*)" class="prevnext">»</a></li></ul>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0], 2, logos + 'youav.png', fanart)
except:
pass
elif 'youjizz' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]youjizz.com [COLOR red]Search[/COLOR]', youjizz, 1, logos + 'youjizz.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', youjizz + '/newest-clips/1.html' , 28, logos + 'youjizz.png', fanart)
match = re.compile('<a class="frame" href=\'([^\']+)\'.+?data-original="([^"]+)".+?<span id="title1">([^"]+)</span>.+?>([:\d]+)</span>', re.DOTALL).findall(content)
for url, thumb, name, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', youjizz + url, 4, thumb, fanart)
match = re.compile("<a href='([^']+)'>Next", re.DOTALL).findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', youjizz + match[0], 2, logos + 'youjizz.png', fanart)
elif 'youporn' in url:
add_dir('[COLOR lightgreen]youporn.com [COLOR red]Search[/COLOR]', youporn, 1, logos + 'youporn.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', youporn + '/categories/', 31, logos + 'youporn.png', fanart)
add_dir('[COLOR lime]Sorting[/COLOR]', youporn, 43, logos + 'youporn.png', fanart)
content = make_request(url)
match = re.compile('<a href="([^"]*)" class=\'video-box-image\' >.+?alt=\'([^"]+)\'.+?data-thumbnail="([^"]+)".+?<span class="video-box-duration">.+?([:\d]+) </span>', re.DOTALL).findall(content)
for url, name, thumb, duration in match:
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', youporn + url, 4, thumb, fanart)
try:
match = re.compile('<link rel="next" href="([^"]*)" />').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', match[0], 2, logos + 'youporn.png', fanart)
except:
pass
elif 'yespornplease' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]yespornplease [COLOR red]Search[/COLOR]', yespornplease, 1, logos + 'yespp.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', yespornplease + '/categories', 52, logos + 'yespp.png', fanart)
if 'search' in url:
match = re.compile('<img src="([^"]*)".+?alt="([^"]*)" id=".+?" name="(.+?)-.+?".+?<div class="duration">([:\d]+)</div>', re.DOTALL).findall(content)
for thumb, name, dummy, duration in match:
url = 'http://vshare.io/v/' + dummy + '/width-750/height-400/1/'
name = name.replace('&', '&').replace('"', '"').replace(''', '\'').replace(' ', '')
add_link(name + '[COLOR lime] (' + duration + ')[/COLOR]', url, 4, thumb, fanart)
else:
match = re.compile('<img src="([^"]*)".+?alt="([^"]*)" id=".+?" name="(.+?)-.+?".+?<div class="duration">([:\d]+)</div>', re.DOTALL).findall(content)
for thumb, name, dummy, duration in match:
url = 'http://vshare.io/v/' + dummy + '/width-750/height-400/1/'
name = name.replace('&', '&').replace('"', '"').replace(''', '\'').replace(' ', '')
add_link(name + '[COLOR lime] (' + duration + ')[/COLOR]', url, 4, thumb, fanart)
try:
match = re.compile('<a href="(.+?)" class="prevnext">Next »</a></li>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', yespornplease + match[0], 2, logos + 'yespp.png', fanart)
except:
pass
elif 'yes.xxx' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]yes.xxx [COLOR red]Search[/COLOR]', yesxxx, 1, logos + 'yes.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', yesxxx + '?s=tags', 37, logos + 'yes.png', fanart)
match = re.compile('<a href="/([^"]*)" title="([^"]*)"><img src="([^"]*)"(.+?)> ([:\d]+)</div>', re.DOTALL).findall(content)
for url, name, thumb, dummy, duration in match:
name = name.replace('&', '&').replace('"', '"').replace(''', '\'').replace(' ', '')
add_link(name + '[COLOR lime] (' + duration + ')[/COLOR]', yesxxx + url, 4, thumb, fanart)
try:
match = re.compile('<li><a href="(.+?)">Next</a></li>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', yesxxx + match[0], 2, logos + 'yes.png', fanart)
except:
pass
def pornhd_categories(url):
home()
content = make_request(url)
match = re.compile('<a href="([^"]*)">.+?alt="([^"]*)".+?data-original="([^"]*)"', re.DOTALL).findall(content)
for url, name, thumb in match:
add_dir(name, pornhd + url, 2, thumb, fanart)
def pornhd_pornstars(url):
home()
content = make_request(url)
match = re.compile('<li class="pornstar">.+?<a href="(.+?)">.+?data-original="(.+?)".+?alt="(.+?)"', re.DOTALL).findall(content)
for url, thumb, name in match:
add_dir(name, pornhd + url, 2, thumb, fanart)
try:
match = re.compile('<link rel="next" href="([^"]*)" />').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', pornhd + match[0], 20, logos + 'pornhd.png', fanart)
except:
pass
def eporner_categories(url):
home()
content = make_request(url)
match = re.compile('href="/category/([^"]*)" title="([^"]*)"><img src="([^"]*)"').findall(content)
for url, name, thumb in match:
add_dir(name, eporner + '/category/' + url, 2, thumb, fanart)
def youav_categories(url) :
home()
content = make_request(url)
match = re.compile('<a href="([^"]*)">.+?<div class="thumb-overlay">.+?<img src="([^"]*)" title="([^"]*)" ', re.DOTALL).findall(content)
for url, thumb, name in match:
add_dir(name, youav + url, 2, youav + thumb, fanart)
def lubtetube_pornstars(url):
home()
content = make_request(url)
match = re.compile('class="score">(.+?)</strong></span><a class="frame" href="/(.+?)"><img src="(.+?)" alt="(.+?)"', re.DOTALL).findall(content)
for duration, url, thumb, name in match:
duration = duration.replace('<strong>', ' ')
add_dir(name + ' [COLOR lime]('+ duration + ')[/COLOR]', lubetube + url, 2, lubetube + thumb, fanart)
try:
match = re.compile('<a class="next" href="([^"]*)">Next</a>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', lubetube + match[0], 12, logos + 'lubetube.png', fanart)
except:
pass
def lubetube_categories(url):
home()
content = make_request(url)
match = re.compile('href="http://lubetube.com/search/adddate/cat/([^"]*)"><img src="(.+?)" alt="(.+?)"').findall(content)
for url, thumb, name in match:
add_dir(name, lubetube + 'search/adddate/cat/' + url, 2, logos + 'lubetube.png', fanart)
def porncom_channels_list(url):
home()
content = make_request(url)
match = re.compile('href="/videos/(.+?)" title="(.+?)"').findall(content)[31:200]
for url, name in match:
add_dir(name, porncom + '/videos/' + url, 2, logos + 'porncom.png', fanart)
def motherless_galeries_cat(url):
home()
add_dir('[COLOR lightgreen]motherless.com Galleries [COLOR red]Search[/COLOR]', motherless + '/search/Galleries', 1, logos + 'motherless.png', fanart)
content = make_request(url)
match = re.compile('href="/G(.+?)".+?src="(.+?)".+?alt="(.+?)"', re.DOTALL).findall(content)
for url, thumb, name in match:
name = name.replace('&', '&').replace('"', '"').replace(''', '\'')
url = '/GV' + url
add_dir(name, motherless + url, 2, thumb, fanart)
match = re.compile('<a href="([^"]*)" class=".+?" rel="[1-9999]">NEXT »</a></div>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', motherless + match[0], 60, logos + 'motherless.png', fanart)
def motherless_groups_cat(url):
home()
add_dir('[COLOR lightgreen]motherless.com Groups [COLOR red]Search[/COLOR]', motherless + '/search/groups?term=', 1, logos + 'motherless.png', fanart)
content = make_request(url)
match = re.compile('<a href="/g/(.+?)">.+?src="(.+?)".+?class="grunge motherless-red">.+?(.+?)</a>', re.DOTALL).findall(content)
for url, thumb, name in match:
name = name.replace('&', '&').replace('"', '"').replace(''', '\'').replace(' ', '')
add_dir(name, motherless + '/gv/' + url, 2, thumb, fanart)
match = re.compile('<a href="([^"]*)" class="pop" rel="[1-9999]">NEXT »</a></div>').findall(content)
add_dir('[COLOR blue]Next Page >>>>[/COLOR]', motherless + match[0], 62, logos + 'motherless.png', fanart)
def motherless_being_watched_now(url):
home()
content = make_request(url)
match = re.compile("<a href=\"(.+?)\" title=\"All Media\">").findall(content)
add_dir('[COLOR lime]REFRESH[COLOR orange] Page[COLOR red] >>>>[/COLOR]', motherless + match[0], 61, logos + 'motherless.png', fanart)
match = re.compile('data-frames="12">.+?<a href="([^"]+)".+?src="([^"]+)".+?alt="([^"]+)".+?caption left">([:\d]+)</div>', re.DOTALL).findall(content)
for url, thumb, name, duration in match:
name = name.replace('&', '&').replace('"', '"').replace(''', '\'')
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', url , 4, thumb, fanart)
def redtube_sorting(url):
home()
content = make_request(url)
match = re.compile('<a href="([^"]*)" class="js_setCookieHandle" data-op="linkId" data-what="(new|hot|top|recommended|mostviewed|mostfavored|longest)" data-ttl="2000">(.+?)</a>', re.DOTALL).findall(content)
for url, name, dummy in match:
dummy = dummy.replace(' ','').replace(' ','')
name = dummy
add_dir(name , redtube + url, 2, logos + 'redtube.png', fanart)
def redtube_categories(url):
home()
content = make_request(url)
match = re.compile('<a href="(.+?)" title=".+?">.+?<img alt="(.+?)".+?data-src="(.+?)"', re.DOTALL).findall(content)
for url, name, thumb in match:
add_dir(name, redtube + url, 2, "http:" + thumb, fanart)
def redtube_channels_cat(url):
home()
content = make_request(url)
match = re.compile('href="/channel/(.+?)" title="(.+?)">').findall(content)
for url, name in match:
add_dir(name, redtube + '/channel/' + url, 11, logos + 'redtube.png', fanart)
def redtube_channels_list(url):
home()
content = make_request(url)
match = re.compile('href="([^"]+)" class="channels-list-img">.+?<img src="([^"]+)" alt="([^"]+)">', re.DOTALL).findall(content)
for url, thumb, name in match:
if 'http' in thumb:
add_dir(name, redtube + url, 2, thumb, fanart)
else:
add_dir(name, redtube + url, 2, "http:" + thumb, fanart)
try: