Comments (10)
from py3-pinterest.
Hello, I noticed this problem once or twice but eventually it went away, probably it is some corner case, can you give me the piece of code you are using to pin?
from py3-pinterest.
It actually did it on 500+ pins with no exception. The title-grabbing function is ok, tested multiple times.
It's strange it did it only once or twice on your end, as I noticed this on lines 10-18 of RequestBuilder.py:
def buildPost(self, options, source_url, context={}):
return self.url_encode({
'source_url': source_url,
'data': json.dumps({
'options': options,
"context": context
}).replace(' ', ''),
'_': '%s' % int(time.time() * 1000)
})
I changed the replace with a full whitespace. I just run the script on 1000+ pins and it worked without a single error, adding all the necessary spaces to ALL pins.
from py3-pinterest.
Great! Nice catch, I haven't set up collaborators on the repo yet, so I will apply your fix and push the new version :)
from py3-pinterest.
from py3-pinterest.
I will test it on my end, there was some reason for this for sure.
from py3-pinterest.
from py3-pinterest.
It appears that the whole replace was a left over from other issue. I have removed it entirely and all the f unctions are working as expected.
The new version 0.2.3 is published let me know if you still have the issue.
from py3-pinterest.
Yep, it's working out of the box! Just tried the pin function tho, no need for others atm
from py3-pinterest.
Great closing the issue
from py3-pinterest.
Related Issues (20)
- Issue creating pins HOT 1
- how search by image in visual search ?
- WebDriver login error HOT 1
- HTTPError: 403 Client Error HOT 1
- Issues with login? Here's the fix. HOT 1
- Bad request for url - Can't create pins HOT 3
- On my i386 pc I can no longer use chromium because of sse3 or chrome
- get_board_sections only returns default 25 sections
- 404 Client Error: Not Found for url: https://www.pinterest.com/resource/PinResource/create/ HOT 1
- There is no [win64] chromedriver "latest" for browser google-chrome "114.0.5735.248" in cache
- upload_pin() and pin() not working
- Fail to login due to language of web driver does not change HOT 2
- Error on login
- Still active/working? HOT 4
- Another Error on login HOT 3
- Downstream issue in extruct
- Timeout value connect was <object object at 0x000001714FAC8660>, but it must be an int, float or None.
- get_user_pins not returning all pins even with batching
- HTTPError: 401 Client Error: Unauthorized for url: https://www.pinterest.com/upload-image/
- load_pin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py3-pinterest.