From d2da41d52c28c78cd2a8340429b6d69d0c2a3955 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Sat, 12 Dec 2020 11:03:41 +0100 Subject: [PATCH] moved out instagram crawler --- python-package/HISTORY.md | 6 +- python-package/README.md | 3 +- python-package/docs/imagecrawlers/index.md | 2 - python-package/setup.cfg | 1 - .../src/nichtparasoup/config/defaults.yaml | 10 --- .../nichtparasoup/imagecrawlers/__init__.py | 3 - .../unit/test_imagecrawlers/test_reddit.py | 2 +- python-plugin-instagram/README.md | 6 ++ .../docs/imagecrawlers/instagram_hashtag.md | 0 .../docs/imagecrawlers/instagram_profile.md | 0 .../examples/config/.gitignore | 4 + .../examples/config/defaults.yaml | 80 +++++++++++++++++++ .../examples/config/instabuff.yaml | 0 .../src}/instagram.py | 0 .../tests}/test_instagram.py | 0 .../tests}/testdata_instagram/1bad9348735e.js | 0 .../tests}/testdata_instagram/5dc93b582a6c.js | 0 .../tests}/testdata_instagram/b8052b18ef4d.js | 0 .../tests}/testdata_instagram/ebbdfced63f8.js | 0 .../tests}/testdata_instagram/foo | 0 .../tests}/testdata_instagram/index.html | 0 .../tests}/testdata_instagram/natgeo | 0 .../tests}/testdata_instagram/natgeo.__a=1 | 0 .../prepared_last_empty.json | 0 ...b3b&variables={first-1,after,tag_name-foo} | 0 ...b3b&variables={first-5,after,tag_name-foo} | 0 ...4a0b62&variables={first-1,after,id-787132} | 0 ...4a0b62&variables={first-5,after,id-787132} | 0 ...17620e&variables={first-1,after,id-787132} | 0 ...6efd0d&variables={first-1,after,id-787132} | 0 ...d0d&variables={first-1,after,tag_name-foo} | 0 ...16efd0d&variables={first1,after,id-787132} | 0 ...eb634a&variables={first-1,after,id-787132} | 0 ...34a&variables={first-1,after,tag_name-foo} | 0 34 files changed, 97 insertions(+), 20 deletions(-) create mode 100644 python-plugin-instagram/README.md rename {python-package => python-plugin-instagram}/docs/imagecrawlers/instagram_hashtag.md (100%) rename {python-package => python-plugin-instagram}/docs/imagecrawlers/instagram_profile.md (100%) create mode 100644 python-plugin-instagram/examples/config/.gitignore create mode 100644 python-plugin-instagram/examples/config/defaults.yaml rename {python-package => python-plugin-instagram}/examples/config/instabuff.yaml (100%) rename {python-package/src/nichtparasoup/imagecrawlers => python-plugin-instagram/src}/instagram.py (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/test_instagram.py (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/1bad9348735e.js (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/5dc93b582a6c.js (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/b8052b18ef4d.js (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/ebbdfced63f8.js (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/foo (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/index.html (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/natgeo (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/natgeo.__a=1 (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/prepared_last_empty.json (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/query_hash=174a5243287c5f3a7de741089750ab3b&variables={first-1,after,tag_name-foo} (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/query_hash=174a5243287c5f3a7de741089750ab3b&variables={first-5,after,tag_name-foo} (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/query_hash=51fdd02b67508306ad4484ff574a0b62&variables={first-1,after,id-787132} (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/query_hash=51fdd02b67508306ad4484ff574a0b62&variables={first-5,after,id-787132} (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/query_hash=97b41c52301f77ce508f55e66d17620e&variables={first-1,after,id-787132} (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first-1,after,id-787132} (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first-1,after,tag_name-foo} (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first1,after,id-787132} (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/query_hash=ff260833edf142911047af6024eb634a&variables={first-1,after,id-787132} (100%) rename {python-package/tests/unit/test_imagecrawlers => python-plugin-instagram/tests}/testdata_instagram/query_hash=ff260833edf142911047af6024eb634a&variables={first-1,after,tag_name-foo} (100%) diff --git a/python-package/HISTORY.md b/python-package/HISTORY.md index d06d1fed..52f84133 100644 --- a/python-package/HISTORY.md +++ b/python-package/HISTORY.md @@ -6,6 +6,10 @@ Unreleased -- see the [milestone tracking at github](https://github.com/k4cg/nichtparasoup/milestone/2). +* Breaking Changes + * Imagecrawler for Instagram is no more part of standard distribution. + It might come back as a plugin one day. + This crawler was just too brittle because of Instagram's WebApplicationFirewalls and other bot protections. * Changes * API supports HTTP method "GET" only. Did support all HTTP methods in the past. * Added @@ -14,7 +18,7 @@ Unreleased * API `/get` no longer responds false "404 EXHAUSTED" HTTP Status code. * `nichtparasoup.server.get_image()` no longer responds false `None`. * Removed - * Crawler `nichtparasoup.imagecrawlers.instagram.InstagramProfile` no longer has a new optional config `profile_id`. + * Crawler `nichtparasoup.imagecrawlers.instagram` was removed from shipped imagecrawlers. ## 3.0.0a2 diff --git a/python-package/README.md b/python-package/README.md index 0d8c8999..026d8f1b 100644 --- a/python-package/README.md +++ b/python-package/README.md @@ -10,10 +10,9 @@ _nichtparasoup_ is a hackspaces entertainment system. It randomly displays images from -[instagram](https://instagram.com), [pr0gramm](https://pr0gramm.com) and [reddit](https://reddit.com). -Other crawlers are currently removed, but will be back soon. +Other crawlers are currently removed, but might be back soon as plugins. If you find an ImageCrawler for your favourite ImageBoard missing, feel free to write an own ImageCrawler therefore. Contribute it to the _nichtparasoup_ project or write it as an independent plugin :-) diff --git a/python-package/docs/imagecrawlers/index.md b/python-package/docs/imagecrawlers/index.md index 1c6ca77c..7698afc6 100644 --- a/python-package/docs/imagecrawlers/index.md +++ b/python-package/docs/imagecrawlers/index.md @@ -2,8 +2,6 @@ Adaptable: * [Echo](echo.md) -* [InstagramHashtag](instagram_hashtag.md) -* [InstagramProfile](instagram_profile.md) * [Picsum](picsum.md) * [Pr0gramm](pr0gramm.md) * [Reddit](reddit.md) diff --git a/python-package/setup.cfg b/python-package/setup.cfg index 84eb3ad9..4bc1a94b 100644 --- a/python-package/setup.cfg +++ b/python-package/setup.cfg @@ -30,7 +30,6 @@ classifiers = Typing :: Typed keywords = image-crawler - instagram pr0gramm reddit project_urls = diff --git a/python-package/src/nichtparasoup/config/defaults.yaml b/python-package/src/nichtparasoup/config/defaults.yaml index 5d5c90ae..e541b93b 100644 --- a/python-package/src/nichtparasoup/config/defaults.yaml +++ b/python-package/src/nichtparasoup/config/defaults.yaml @@ -57,16 +57,6 @@ crawlers: config: width: 300 height: 600 - - - name: "InstagramHashtag" - weight: 1 - config: - tag_name: "earthporn" - - - name: "InstagramProfile" - weight: 1 - config: - user_name: "natgeo" ## logging settings diff --git a/python-package/src/nichtparasoup/imagecrawlers/__init__.py b/python-package/src/nichtparasoup/imagecrawlers/__init__.py index 3f227de8..368c9938 100644 --- a/python-package/src/nichtparasoup/imagecrawlers/__init__.py +++ b/python-package/src/nichtparasoup/imagecrawlers/__init__.py @@ -11,7 +11,6 @@ from .._internals import _log from ..core.imagecrawler import BaseImageCrawler from .echo import Echo -from .instagram import InstagramHashtag, InstagramProfile from .picsum import Picsum from .pr0gramm import Pr0gramm from .reddit import Reddit @@ -29,8 +28,6 @@ def _builtins() -> Dict[_ImagecrawlerName, _ImagecrawlerClass]: 'Echo': Echo, 'Picsum': Picsum, 'Reddit': Reddit, - 'InstagramProfile': InstagramProfile, - 'InstagramHashtag': InstagramHashtag, 'Pr0gramm': Pr0gramm, } diff --git a/python-package/tests/unit/test_imagecrawlers/test_reddit.py b/python-package/tests/unit/test_imagecrawlers/test_reddit.py index 4f40ca76..604aa7bb 100644 --- a/python-package/tests/unit/test_imagecrawlers/test_reddit.py +++ b/python-package/tests/unit/test_imagecrawlers/test_reddit.py @@ -139,7 +139,7 @@ def test_reset_done(self) -> None: assert not crawler.is_exhausted() -_FILE_FETCHER = FileFetcher({ # relative to "./testdata_instagram" +_FILE_FETCHER = FileFetcher({ # relative to "./testdata_reddit" '/r/aww.json?after=': 'aww.json', '/r/awwwwwwww.json?after=': 'awwwwwwww.json', }, base_url='https://www.reddit.com', base_dir=path_join(dirname(__file__), 'testdata_reddit')) diff --git a/python-plugin-instagram/README.md b/python-plugin-instagram/README.md new file mode 100644 index 00000000..d10f044f --- /dev/null +++ b/python-plugin-instagram/README.md @@ -0,0 +1,6 @@ +# Instagram image crawlers + +Were removed from the list of shipped crawlers. + +Instagram crawler is stable but brittle at the same time. +fetching the initial query has failes often due to instagram's WAF or other things. diff --git a/python-package/docs/imagecrawlers/instagram_hashtag.md b/python-plugin-instagram/docs/imagecrawlers/instagram_hashtag.md similarity index 100% rename from python-package/docs/imagecrawlers/instagram_hashtag.md rename to python-plugin-instagram/docs/imagecrawlers/instagram_hashtag.md diff --git a/python-package/docs/imagecrawlers/instagram_profile.md b/python-plugin-instagram/docs/imagecrawlers/instagram_profile.md similarity index 100% rename from python-package/docs/imagecrawlers/instagram_profile.md rename to python-plugin-instagram/docs/imagecrawlers/instagram_profile.md diff --git a/python-plugin-instagram/examples/config/.gitignore b/python-plugin-instagram/examples/config/.gitignore new file mode 100644 index 00000000..7f9001e9 --- /dev/null +++ b/python-plugin-instagram/examples/config/.gitignore @@ -0,0 +1,4 @@ +# ignore everything besides this file and yaml files +* +!/.gitignore +!/*.yaml diff --git a/python-plugin-instagram/examples/config/defaults.yaml b/python-plugin-instagram/examples/config/defaults.yaml new file mode 100644 index 00000000..5d5c90ae --- /dev/null +++ b/python-plugin-instagram/examples/config/defaults.yaml @@ -0,0 +1,80 @@ +## This is a config file for nichtprasoup (v2.2) + + +## WebServer config +## type: map +webserver: + ## hostname the WebServer recognizes. can also be a unix socket + ## type: string + hostname: "0.0.0.0" + ## port the webserver runs on + ## type: integer + ## constraint: 1 <= port <= 65535 + port: 5000 + +## ImageServer config +## type: map +imageserver: + ## number of images the server must keep at all time + ## type: integer + ## constraint: >= 10 + ## optional + ## default: 30 + crawler_upkeep: 30 + ## number of seconds the server must nt be reset + ## type: integer + ## constraint: >= 600 + ## optional + ## default: 3600 + reset_timeout: 3600 + +## list of ImageCrawlers to use. +## ATTENTION: crawlers are treated like a unique list. the combination of type and config makes them unique +## for a list of available types see the commandline help: nichtparasoup info --imagecrawler-list +## for description of a crawler and how to configure, see commandline help: nichtparasoup info --imagecrawler-desc +## type: list +crawlers: + - + ## name of the crawler + ## for a list of available types see the commandline help: nichtparasoup info --imagecrawler-list + ## type: string + name: "Reddit" + ## probability to be chosen randomly + ## type: integer or float + ## constraint: > 0 + ## optional + ## default: 1 + weight: 3 + ## the crawler's own config + ## for description of a crawler and how to configure, see commandline help: nichtparasoup info --imagecrawler-desc + ## type: map + ## optional + config: + subreddit: 'EarthPorn' + - + name: "Picsum" + weight: 1 + config: + width: 300 + height: 600 + - + name: "InstagramHashtag" + weight: 1 + config: + tag_name: "earthporn" + - + name: "InstagramProfile" + weight: 1 + config: + user_name: "natgeo" + + +## logging settings +## type: map +## optional +logging: + ## log level settings + ## type: enum('CRITICAL', 'ERROR', 'WARNING', 'INFO', 'DEBUG') + ## optional + ## default: 'INFO' + level: 'INFO' diff --git a/python-package/examples/config/instabuff.yaml b/python-plugin-instagram/examples/config/instabuff.yaml similarity index 100% rename from python-package/examples/config/instabuff.yaml rename to python-plugin-instagram/examples/config/instabuff.yaml diff --git a/python-package/src/nichtparasoup/imagecrawlers/instagram.py b/python-plugin-instagram/src/instagram.py similarity index 100% rename from python-package/src/nichtparasoup/imagecrawlers/instagram.py rename to python-plugin-instagram/src/instagram.py diff --git a/python-package/tests/unit/test_imagecrawlers/test_instagram.py b/python-plugin-instagram/tests/test_instagram.py similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/test_instagram.py rename to python-plugin-instagram/tests/test_instagram.py diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/1bad9348735e.js b/python-plugin-instagram/tests/testdata_instagram/1bad9348735e.js similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/1bad9348735e.js rename to python-plugin-instagram/tests/testdata_instagram/1bad9348735e.js diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/5dc93b582a6c.js b/python-plugin-instagram/tests/testdata_instagram/5dc93b582a6c.js similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/5dc93b582a6c.js rename to python-plugin-instagram/tests/testdata_instagram/5dc93b582a6c.js diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/b8052b18ef4d.js b/python-plugin-instagram/tests/testdata_instagram/b8052b18ef4d.js similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/b8052b18ef4d.js rename to python-plugin-instagram/tests/testdata_instagram/b8052b18ef4d.js diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/ebbdfced63f8.js b/python-plugin-instagram/tests/testdata_instagram/ebbdfced63f8.js similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/ebbdfced63f8.js rename to python-plugin-instagram/tests/testdata_instagram/ebbdfced63f8.js diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/foo b/python-plugin-instagram/tests/testdata_instagram/foo similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/foo rename to python-plugin-instagram/tests/testdata_instagram/foo diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/index.html b/python-plugin-instagram/tests/testdata_instagram/index.html similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/index.html rename to python-plugin-instagram/tests/testdata_instagram/index.html diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/natgeo b/python-plugin-instagram/tests/testdata_instagram/natgeo similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/natgeo rename to python-plugin-instagram/tests/testdata_instagram/natgeo diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/natgeo.__a=1 b/python-plugin-instagram/tests/testdata_instagram/natgeo.__a=1 similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/natgeo.__a=1 rename to python-plugin-instagram/tests/testdata_instagram/natgeo.__a=1 diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/prepared_last_empty.json b/python-plugin-instagram/tests/testdata_instagram/prepared_last_empty.json similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/prepared_last_empty.json rename to python-plugin-instagram/tests/testdata_instagram/prepared_last_empty.json diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=174a5243287c5f3a7de741089750ab3b&variables={first-1,after,tag_name-foo} b/python-plugin-instagram/tests/testdata_instagram/query_hash=174a5243287c5f3a7de741089750ab3b&variables={first-1,after,tag_name-foo} similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=174a5243287c5f3a7de741089750ab3b&variables={first-1,after,tag_name-foo} rename to python-plugin-instagram/tests/testdata_instagram/query_hash=174a5243287c5f3a7de741089750ab3b&variables={first-1,after,tag_name-foo} diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=174a5243287c5f3a7de741089750ab3b&variables={first-5,after,tag_name-foo} b/python-plugin-instagram/tests/testdata_instagram/query_hash=174a5243287c5f3a7de741089750ab3b&variables={first-5,after,tag_name-foo} similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=174a5243287c5f3a7de741089750ab3b&variables={first-5,after,tag_name-foo} rename to python-plugin-instagram/tests/testdata_instagram/query_hash=174a5243287c5f3a7de741089750ab3b&variables={first-5,after,tag_name-foo} diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=51fdd02b67508306ad4484ff574a0b62&variables={first-1,after,id-787132} b/python-plugin-instagram/tests/testdata_instagram/query_hash=51fdd02b67508306ad4484ff574a0b62&variables={first-1,after,id-787132} similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=51fdd02b67508306ad4484ff574a0b62&variables={first-1,after,id-787132} rename to python-plugin-instagram/tests/testdata_instagram/query_hash=51fdd02b67508306ad4484ff574a0b62&variables={first-1,after,id-787132} diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=51fdd02b67508306ad4484ff574a0b62&variables={first-5,after,id-787132} b/python-plugin-instagram/tests/testdata_instagram/query_hash=51fdd02b67508306ad4484ff574a0b62&variables={first-5,after,id-787132} similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=51fdd02b67508306ad4484ff574a0b62&variables={first-5,after,id-787132} rename to python-plugin-instagram/tests/testdata_instagram/query_hash=51fdd02b67508306ad4484ff574a0b62&variables={first-5,after,id-787132} diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=97b41c52301f77ce508f55e66d17620e&variables={first-1,after,id-787132} b/python-plugin-instagram/tests/testdata_instagram/query_hash=97b41c52301f77ce508f55e66d17620e&variables={first-1,after,id-787132} similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=97b41c52301f77ce508f55e66d17620e&variables={first-1,after,id-787132} rename to python-plugin-instagram/tests/testdata_instagram/query_hash=97b41c52301f77ce508f55e66d17620e&variables={first-1,after,id-787132} diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first-1,after,id-787132} b/python-plugin-instagram/tests/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first-1,after,id-787132} similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first-1,after,id-787132} rename to python-plugin-instagram/tests/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first-1,after,id-787132} diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first-1,after,tag_name-foo} b/python-plugin-instagram/tests/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first-1,after,tag_name-foo} similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first-1,after,tag_name-foo} rename to python-plugin-instagram/tests/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first-1,after,tag_name-foo} diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first1,after,id-787132} b/python-plugin-instagram/tests/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first1,after,id-787132} similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first1,after,id-787132} rename to python-plugin-instagram/tests/testdata_instagram/query_hash=f0986789a5c5d17c2400faebf16efd0d&variables={first1,after,id-787132} diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=ff260833edf142911047af6024eb634a&variables={first-1,after,id-787132} b/python-plugin-instagram/tests/testdata_instagram/query_hash=ff260833edf142911047af6024eb634a&variables={first-1,after,id-787132} similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=ff260833edf142911047af6024eb634a&variables={first-1,after,id-787132} rename to python-plugin-instagram/tests/testdata_instagram/query_hash=ff260833edf142911047af6024eb634a&variables={first-1,after,id-787132} diff --git a/python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=ff260833edf142911047af6024eb634a&variables={first-1,after,tag_name-foo} b/python-plugin-instagram/tests/testdata_instagram/query_hash=ff260833edf142911047af6024eb634a&variables={first-1,after,tag_name-foo} similarity index 100% rename from python-package/tests/unit/test_imagecrawlers/testdata_instagram/query_hash=ff260833edf142911047af6024eb634a&variables={first-1,after,tag_name-foo} rename to python-plugin-instagram/tests/testdata_instagram/query_hash=ff260833edf142911047af6024eb634a&variables={first-1,after,tag_name-foo}