Comments (8)
I can't test since I don't have an account anymore.
Can you try replacing /take_login.php
with /do-login.php
in iptorrents.json
please ?
from torrent-search-api.
It looks like its the same issue -- whatever service they use (something like cloudfare) makes you wait 5 seconds before redirecting you to prevent bots it seems. Not sure if there is going to be an easy way around that. You may be able to repro, or at least see what I'm seeing by navigating to iptorrents in incognito or on a VPN without logging in.
from torrent-search-api.
It's a cloudfare protection and it's a pain in the ass.. We have the same problem on yggtorrent provider.
There's a workaround that uses puppeteer, it's not perfect (heavy and will not work on some dockerized env), but it does the job until we have a better solution.
Check this issue if you're interested.
from torrent-search-api.
Sorry for the off-topic.
@JimmyLaurent which dockerized environment are you referring to? Is it when docker requires to run it as a non-root user?
from torrent-search-api.
It's been a while now and It may have changed but I remember having some troubles running chrome inside Heroku or Now services (with free plans).
BTW, good job with the puppeteer solution.
from torrent-search-api.
@JimmyLaurent I was right, Heroku doesn't allow running Docker as root so that's why it doesn't work and for vercel it's planned: unixfox/pupflare#3
from torrent-search-api.
@unixfox Still off topic: you might be interested by this buildpack, I made some tests and ran puppeteer flawlessly on heroku.
@sgianelli I added a new experimental cloudflare bypass. It's like pupflare, but only use puppetteer to grab cookies. So if it doesn't bother you to use chromium headless, you might be interested.
To use it, take the latest version of" torrent-search-api" and also add the "cloudflare-scraper" package to you project dependencies.
If you do so, can you tell me if it solve your issue ?
Thanks.
from torrent-search-api.
Hiya! I'm running into the same issue as @sgianelli with IPtorrents
"cloudscraper": "^4.6.0",
"torrent-search-api": "^2.1.3",
with the above versions for the two packages and the default iptorrents.json. Still failing to get through the authentication. Any other tips or suggestions?
from torrent-search-api.
Related Issues (20)
- Feature req: Specify scrapes for only webtorrents HOT 2
- Yggtorrent - CaptchaError: captcha HOT 19
- Rarbg not working anymore HOT 1
- Error :: Module not found: Can't resolve '_http_common'
- TypeError: TorrentSearchApi is not a function HOT 11
- ThePirateBay doesn't seem to be working HOT 8
- Can't Deploy in Heroku HOT 3
- Provider ThePirateBay magnet name undefined
- cannot read property "toLowerCase' of undefined when getting magnet links HOT 3
- Suggestions about request and bluebird HOT 3
- [YGGTorrent] Error in torrent file HOT 2
- Unable to use Ygg provider HOT 14
- eztv.io changed to eztv.re HOT 1
- [Docs] No Custom Provider documentation
- uniqueName error when passed a number HOT 1
- this npm package requires netmask@^1.0.6 via a transitive dependency on [email protected]
- Error in searching torrents HOT 1
- Dead repo ? HOT 1
- Udpate YggTorrent
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 torrent-search-api.