adding plex-posters binary
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 3.4 MiB |
|
After Width: | Height: | Size: 401 KiB |
|
After Width: | Height: | Size: 3.9 MiB |
|
After Width: | Height: | Size: 376 KiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 435 KiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 1.3 MiB |
@@ -1,5 +1,14 @@
|
||||
from plex_posters import __version__
|
||||
import plex_posters
|
||||
|
||||
inst = plex_posters.movie_poster_porn_scraper.create_instance(
|
||||
client_id='yb7NnBPh4riSnw',
|
||||
client_secret='-3Z0XUXD2XCiksfX26jORG107fA',
|
||||
user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:70.0)'
|
||||
'Gecko/20100101 Firefox/70.0',
|
||||
)
|
||||
|
||||
def test_version():
|
||||
assert __version__ == '0.1.0'
|
||||
print(inst.reddit_instance.read_only)
|
||||
|
||||
inst.get_hot_posters().get_posters()
|
||||
|
||||
print(plex_posters.__version__)
|
||||
|
||||
14
plex-posters/tests/testimport/test_plex_posters.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import plex_posters
|
||||
|
||||
inst = plex_posters.movie_poster_porn_scraper.create_instance(
|
||||
client_id='yb7NnBPh4riSnw',
|
||||
client_secret='-3Z0XUXD2XCiksfX26jORG107fA',
|
||||
user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:70.0)'
|
||||
'Gecko/20100101 Firefox/70.0',
|
||||
)
|
||||
|
||||
print(inst.reddit_instance.read_only)
|
||||
|
||||
inst.get_hot_posters().get_posters()
|
||||
|
||||
print(plex_posters.__version__)
|
||||