Do not assume a bucket or accessory makes an otherwise unsuitable exhaust arrangement acceptable. Follow the appliance's actual installation requirements.
Understanding this situation
Moisture and airflow need to be managed as designed, and an improvised collector can create a different restriction or room condition. A product marketed for some situations is not blanket approval for every dryer or building.
A useful next step
Obtain competent model-specific advice before altering ventilation. Do not detach the proper outlet to test drying indoors. If condensation, overheating or poor performance follows a change, stop use and describe that alteration rather than continuing with another improvised arrangement.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.