-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot detect post media type: #6243 #6346
Conversation
Hi, and it could close #6342 too. |
Hey im getting "Video was not able to get liked! maybe blocked?", "Invalid Like Element!", "Image was not able to get liked! maybe blocked?" after this fix |
Your account is shadow banned, or you are having a beautiful cold-down block for abusing IG limits. |
that is incorrect, I have not used the app what so ever and I can like my self with no issues. instapy is having an issue liking the stuff and giving out that error since the changes i made today to the files mentioned above to change. |
Could you tell me more about your configuration, which branch/commit are you using. And please show the output for the session. |
So my install could be entirely wrong... im new at this. I'm using the InstaPy-Quickstart folder. I did the whole installation from the windows "install.bat." last week when I was trying to resolve the issue, I used the "pip install -I https://github.com/schealex/InstaPy/zipball/develop" to update files to the most recent ones. Today I found your post about the changes to the 5 files stated above and I literally just copied and pasted the raw code from there into the corresponding files. It actually started to recognize the media types as you mentioned above and I figured everything was fixed until I noticed it was skipping every user (for having too high of following but some of the accounts had 200 followers) and if did not skip it gave the errors messages as if I had been locked out from too many likes... but this hasn't worked for me since I first installed. i also want to mention that i use the "windows_start.bat" to start running the program. |
I see that you are using other Repo different than the Official InstaPy My advice is to use "https://github.com/timgrossmann/InstaPy" which contains |
will try this thanks! |
~/InstaPy/logs/para_internet/para_internet_cookie.pkl
You need to install GIT in your machine, the install InstaPy via PIP from a branch https://git-scm.com/download/win (venv399) ➜ ~ pip install -I git+https://github.com/timgrossmann/InstaPy.git@InstaPy-6243
Collecting git+https://github.com/timgrossmann/InstaPy.git@InstaPy-6243
Cloning https://github.com/timgrossmann/InstaPy.git (to revision InstaPy-6243) to /private/var/folders/xy/hwplhkcj16s1cqfqb310zn700000gn/T/pip-req-build-eg7r1hj6
Running command git clone --filter=blob:none -q https://github.com/timgrossmann/InstaPy.git /private/var/folders/xy/hwplhkcj16s1cqfqb310zn700000gn/T/pip-req-build-eg7r1hj6
Running command git checkout -b InstaPy-6243 --track origin/InstaPy-6243
Switched to a new branch 'InstaPy-6243'
Branch 'InstaPy-6243' set up to track remote branch 'InstaPy-6243' from 'origin'.
Resolved https://github.com/timgrossmann/InstaPy.git to commit f11ed89a210363c363b9517b2da179a98155b211
Preparing metadata (setup.py) ... done
Collecting certifi>=2018.10.15
Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
|████████████████████████████████| 149 kB 1.4 MB/s
Collecting chardet<4,>=3.0.4 |
i really appreciate all your help man! i did pip uninstall instapy, installed git and restarted my computer. i did pip installl instapy first and then i ran "pip install -I git+https://github.com/timgrossmann/InstaPy.git@InstaPy-6243" and im still running into this |
Nice, nice I was mentioning, your acct is banned by IG; a temporary cold down period.
in Windows the path should be similar |
Hi, |
There are multiple blogs about limits, but non of them are official; ie: The most important thing is that IG doesn’t allow automation tools to grow acct, so they surely have algorithms to detect when an account is being controlled by a bot, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I did the changes in, I still get "Cannot detect post media type. Skip ..." but not on every post, is there a way to fix that?? |
Can you show me the output for logging session? I want to know the branch you are using |
|
Sorry here is a better format , I removed the username, IP, and location and replaced them with "---" INFO [2021-10-13 15:29:25] [---] Session started! |
hey man thank you so much for your help last night unfortunately it is now back to the issue of not recognizing the image types. last night on my last try the cookie thing also didnt work and gave up for the night. any idea whats causing the issue now? ----EDIT---- i ran the pip git install you gave me yesterday and it fixed everything mentioned above but im back to the blocked issue. |
I will check this today, sharing my findings tomorrow morning. |
Hi all, Now I am getting this error Traceback (most recent call last): Process finished with exit code 1 Is there anything I did wrong? verifying media type: ('Photo', 'Carousel', 'Video', 'IGTV', 'Clip') The program liked couple of posts and then showed the error I mentioned above. |
Still working in this one, |
like, and unlike paths updated, that was the issue for liking images update these lines, in your local to verify in the meantime the 'like' action xpath["like_image"] = {
"like": "//*[contains(@class, 'fr66n')]/button/div/*[*[local-name()='svg']/@aria-label='Like']/*",
"unlike": "//*[contains(@class, 'fr66n')]/button/div/*[*[local-name()='svg']/@aria-label='Unlike']/*",
"play": "//*/span[contains(@aria-label, 'Play')]",
}
|
b616900
to
d7c9d48
Compare
## [0.6.25] - UNRELEASED | ||
|
||
### Fixed | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add these to 0.6.14 ? so we can make a new version once the pipelines are working :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Old commits were lost, I could find them in my local
btw, Im bumping the version to .14 to continue the version path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no they are not lost, i just combined all of them together into version 0.14 :) i will merge this now and prepare a 0.14 tag!
ERROR --> 'reload_webpage' is not defined Can someone help me solve this error? |
I am getting .... |
Description
The xpath has been updated, IG can do this all the time,
New formats has been added also, not only photos or carousel,
Fixes: #6143 #6202 #6340 #6243 #6277 #6350
after fixing the xpath we should see something like:
Fixes # (issue)
How Has This Been Tested?
Manually tested with IG acct.
Checklist:
black -t py34